Displaying 1 result from an estimated 1 matches for "gimplify_ctxp".
2007 Jul 17
0
[LLVMdev] Review: minor patches to llvm-gcc-4-2
...: gcc/gimplify.c
===================================================================
--- gcc/gimplify.c (revision 39923)
+++ gcc/gimplify.c (working copy)
@@ -179,8 +179,10 @@
/* LLVM LOCAL begin */
#ifndef ENABLE_LLVM
/* LLVM wants to know about gimple formal temps. */
- for (t = gimplify_ctxp->temps; t ; t = TREE_CHAIN (t))
- DECL_GIMPLE_FORMAL_TEMP_P (t) = 0;
+ if (gimplify_ctxp != 0) {
+ for (t = gimplify_ctxp->temps; t ; t = TREE_CHAIN (t))
+ DECL_GIMPLE_FORMAL_TEMP_P (t) = 0;
+ }
#else
t = 0;
#endif
Index: gcc/fold-const.c
====================================...