mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-31 09:20:44 +08:00
re PR target/14800 (Some x86 tests aren't valid for x86_64)
2004-06-22 H.J. Lu <hongjiu.lu@intel.com> PR target/14800 * gcc.misc-tests/linkage.exp: Set native_cflags to "-m32" for x86_64-*-linux* when compiling for 32bit. From-SVN: r83513
This commit is contained in:
parent
eb8163abfb
commit
96a4ec035d
@ -1,3 +1,9 @@
|
||||
2004-06-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/14800
|
||||
* gcc.misc-tests/linkage.exp: Set native_cflags to "-m32" for
|
||||
x86_64-*-linux* when compiling for 32bit.
|
||||
|
||||
2004-06-21 Andrew Pinski <apinski@apple.com>
|
||||
|
||||
* gcc.dg/pch/struct-1.c: New.
|
||||
|
@ -53,6 +53,11 @@ if [isnative] then {
|
||||
if [ string match "*32-bit*" $file_string ] {
|
||||
set native_cflags "-m31"
|
||||
}
|
||||
} elseif [istarget "x86_64-*-linux*"] {
|
||||
set file_string [exec file "linkage-x.o"]
|
||||
if [ string match "*32-bit*" $file_string ] {
|
||||
set native_cflags "-m32"
|
||||
}
|
||||
} elseif [istarget "*-hp-hpux*"] {
|
||||
set file_string [exec file "linkage-x.o"]
|
||||
if [ string match "*ELF-64*" $file_string ] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user