mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
sparc: Char arrays are 64-bit aligned on SPARC
pr88077 fails on SPARC since char HeaderStr[1] in pr88077_1.c and long HeaderStr in pr88077_0.c differs in alignment. Warning printed by Binutils ld: warning: alignment 4 of normal symbol `HeaderStr' in c_lto_pr88077_0.o is smaller than 8 used by the common definition in c_lto_pr88077_1.o gcc/testsuite/ChangeLog: * gcc.dg/lto/pr88077_0.c: Change type to match alignment for SPARC
This commit is contained in:
parent
0a3e0b7623
commit
ee0717da1e
@ -1,3 +1,7 @@
|
||||
/* { dg-lto-do link } */
|
||||
|
||||
#if defined __sparc__
|
||||
long long HeaderStr;
|
||||
#else
|
||||
long HeaderStr;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user