Fix build error in gcc 3.4 and make more this general
[oota-llvm.git] / include / llvm / ADT / SmallVector.h
index d0e898d68bbeeac0c4e1151c7876639bfa4d0072..01d092c75d91e20601fbcdf8ce2026a175895e6c 100644 (file)
@@ -35,7 +35,7 @@ class SmallVectorImpl {
 protected:
 #ifdef __GNUC__
   typedef char U;
-  U FirstEl __attribute__((aligned(__alignof__(double))));
+  U FirstEl __attribute__((aligned));
 #else
   union U {
     double D;