From: Andrew Lenharth Date: Mon, 9 Oct 2006 19:05:44 +0000 (+0000) Subject: Fix build error in gcc 3.4 and make more this general X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f2bdcb31877bf5e79903316c49b6a29376f03919;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h index d0e898d68bb..01d092c75d9 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;