summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/SmallVector.h
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-10-09 19:05:44 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-10-09 19:05:44 +0000
commitf2bdcb31877bf5e79903316c49b6a29376f03919 (patch)
tree7b76470e2d638cb0b3418e91ed4af765c0826ba3 /include/llvm/ADT/SmallVector.h
parent3f0e5e205772af1529d980cb1fb2c910ef38417c (diff)
downloadllvm-f2bdcb31877bf5e79903316c49b6a29376f03919.tar.gz
llvm-f2bdcb31877bf5e79903316c49b6a29376f03919.tar.bz2
llvm-f2bdcb31877bf5e79903316c49b6a29376f03919.tar.xz
Fix build error in gcc 3.4 and make more this general
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SmallVector.h')
-rw-r--r--include/llvm/ADT/SmallVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h
index d0e898d68b..01d092c75d 100644
--- a/include/llvm/ADT/SmallVector.h
+++ b/include/llvm/ADT/SmallVector.h
@@ -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;