[llvm-commits] [123690] (1) Add a FIXME about COMPOUND_LITERAL_EXPR

clattner at apple.com clattner at apple.com
Sat Feb 10 14:35:45 PST 2007


Revision: 123690
Author:   clattner
Date:     2007-02-10 14:35:44 -0800 (Sat, 10 Feb 2007)

Log Message:
-----------
(1) Add a FIXME about COMPOUND_LITERAL_EXPR
(2) Remove duplicated #include

patch by Duncan Sands.

Modified Paths:
--------------
    apple-local/branches/llvm/gcc/llvm-backend.cpp
    apple-local/branches/llvm/gcc/llvm-convert.cpp

Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-backend.cpp	2007-02-10 22:33:18 UTC (rev 123689)
+++ apple-local/branches/llvm/gcc/llvm-backend.cpp	2007-02-10 22:35:44 UTC (rev 123690)
@@ -36,7 +36,6 @@
 #include "llvm/CodeGen/RegAllocRegistry.h"
 #include "llvm/CodeGen/SchedulerRegistry.h"
 #include "llvm/CodeGen/ScheduleDAG.h"
-#include "llvm/Support/Streams.h"
 #include "llvm/Target/SubtargetFeature.h"
 #include "llvm/Target/TargetData.h"
 #include "llvm/Target/TargetLowering.h"

Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-convert.cpp	2007-02-10 22:33:18 UTC (rev 123689)
+++ apple-local/branches/llvm/gcc/llvm-convert.cpp	2007-02-10 22:35:44 UTC (rev 123690)
@@ -5098,7 +5098,7 @@
   case INDIRECT_REF:
     // The lvalue is just the address.
     return Convert(TREE_OPERAND(exp, 0));
-  case COMPOUND_LITERAL_EXPR:
+  case COMPOUND_LITERAL_EXPR: // FIXME: not gimple - defined by C front-end
     return EmitLV(COMPOUND_LITERAL_EXPR_DECL(exp));
   }
 }





More information about the llvm-commits mailing list