[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

Andrew Lenharth alenhar2 at cs.uiuc.edu
Mon Oct 9 12:05:58 PDT 2006



Changes in directory llvm/include/llvm/ADT:

SmallVector.h updated: 1.19 -> 1.20
---
Log message:

Fix build error in gcc 3.4 and make more this general

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

 SmallVector.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/ADT/SmallVector.h
diff -u llvm/include/llvm/ADT/SmallVector.h:1.19 llvm/include/llvm/ADT/SmallVector.h:1.20
--- llvm/include/llvm/ADT/SmallVector.h:1.19	Sun Oct  8 17:28:34 2006
+++ llvm/include/llvm/ADT/SmallVector.h	Mon Oct  9 14:05:44 2006
@@ -35,7 +35,7 @@
 protected:
 #ifdef __GNUC__
   typedef char U;
-  U FirstEl __attribute__((aligned(__alignof__(double))));
+  U FirstEl __attribute__((aligned));
 #else
   union U {
     double D;






More information about the llvm-commits mailing list