mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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
This commit is contained in:
parent
3f0e5e2057
commit
f2bdcb3187
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user