[llvm-commits] CVS: llvm-gcc/gcc/c-common.c

Chris Lattner lattner at cs.uiuc.edu
Mon Jan 3 14:03:28 PST 2005



Changes in directory llvm-gcc/gcc:

c-common.c updated: 1.4 -> 1.5
---
Log message:

Disable this code entirely for now.


---
Diffs of the changes:  (+1 -1)

Index: llvm-gcc/gcc/c-common.c
diff -u llvm-gcc/gcc/c-common.c:1.4 llvm-gcc/gcc/c-common.c:1.5
--- llvm-gcc/gcc/c-common.c:1.4	Mon Jan  3 16:01:22 2005
+++ llvm-gcc/gcc/c-common.c	Mon Jan  3 16:03:15 2005
@@ -2565,7 +2565,7 @@
 					     TREE_UNSIGNED (sizetype)), intop);
 
   /* Don't create an ARRAY_REF if this is a potentially a static initializer. */
-  if (EMIT_LLVM && !initializer_stack) {
+  if (0 && EMIT_LLVM) {
     /* In LLVM we really want to represent this as &P[i], not as P+i*sizeof(*P)
      */
     tree arrayref;






More information about the llvm-commits mailing list