* gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.

From-SVN: r51691
This commit is contained in:
Kaveh R. Ghazi 2002-04-01 16:33:55 +00:00 committed by Kaveh Ghazi
parent 04a9d0805e
commit ee3c063932
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-04-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.
2002-04-01 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* g++.dg/inherit/template-as-base.C: Expect error.

View File

@ -36,6 +36,12 @@ if [isnative] then {
set native_cflags "-n32"
}
}
if [istarget "sparc-sun-solaris2*"] {
set file_string [exec file "linkage-x.o"]
if [ string match "*64*" $file_string ] {
set native_cflags "-xarch=v9"
}
}
catch { exec rm -f linkage-y.o }
send_log "cc -c $native_cflags $srcdir/$subdir/linkage-y.c >&/dev/null\n"