summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-13 05:05:29 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-13 05:05:29 +0000
commite6025d4ca16fe7829ffb4ee88953e6c1bc676851 (patch)
tree97e378d8cfdaacf7b81dfbc2d8d70a3afb95cab5 /gcc/testsuite/gcc.misc-tests
parent0092e2a9efa20d208e5a48bac31a57bdc5dfdfbc (diff)
downloadgcc-e6025d4ca16fe7829ffb4ee88953e6c1bc676851.tar.gz
* gcc.dg/980523-1.c, gcc.dg/980526-1.c, gcc.dg/20020103-1.c,
gcc.dg/20040625-1.c, gcc.dg/asm-b.c, gcc.dg/iftrap-1.c, gcc.dg/iftrap-2.c, gcc.dg/simd-3.c, gcc.dg/switch-1.c, gcc.dg/tree-ssa/bool-1.c, gcc.dg/tree-ssa/bool-2.c, gcc.dg/tree-ssa/bool-4.c, gcc.dg/tree-ssa/bool-5.c, gcc.dg/tree-ssa/bool-6.c, gcc.dg/tree-ssa/bool-8.c, gcc.dg/tree-ssa/bool-9.c, gcc.target/powerpc/980827-1.c, gcc.target/powerpc/20040622-1.c, gcc.target/powerpc/20050603-3.c, gcc.target/powerpc/20050830-1.c, gcc.target/powerpc/altivec-6.c, gcc.target/powerpc/altivec-14.c, gcc.target/powerpc/altivec-22.c, gcc.target/powerpc/doloop-1.c, gcc.target/powerpc/ppc-and-1.c, gcc.target/powerpc/ppc-bitfield1.c, gcc.target/powerpc/ppc-compare-1.c, gcc.target/powerpc/ppc-mov-1.c, gcc.target/powerpc/ppc-sdata-1.c, gcc.target/powerpc/ppc-sdata-2.c, gcc.target/powerpc/ppc-stackalign-1.c, gcc.target/powerpc/ppc64-abi-1.c, gcc.target/powerpc/ppc64-abi-2.c, gcc.target/powerpc/ppc64-abi-3.c, gcc.target/powerpc/ppc64-toc.c, gcc.target/powerpc/pr18096-1.c, gcc.target/powerpc/rs6000-ldouble-1.c, gcc.target/powerpc/rs6000-ldouble-2.c, gcc.target/powerpc/rs6000-power2-1.c, gcc.target/powerpc/rs6000-power2-2.c: Don't use powerpc-*-* or powerpc64-*-* in target selection strings. Instead use powerpc*-*-* and ilp32 or lp64 as appropriate. Merge dg-require-effective-target option into target selector. * gcc.dg/20020919-1.c: Compile for powerpc*-*-*. Handle powerpc64. * gcc.misc-tests/linkage.exp: Set native_cflags for powerpc*-*-linux*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests')
-rw-r--r--gcc/testsuite/gcc.misc-tests/linkage.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp
index e0808d6cd4f..6617023a46a 100644
--- a/gcc/testsuite/gcc.misc-tests/linkage.exp
+++ b/gcc/testsuite/gcc.misc-tests/linkage.exp
@@ -66,10 +66,12 @@ if [isnative] then {
if [ string match "*ELF-64*" $file_string ] {
set native_cflags "+DD64"
}
- } elseif [istarget "powerpc64*-*-linux*"] {
+ } elseif [istarget "powerpc*-*-linux*"] {
set file_string [exec file "linkage-x.o"]
if [ string match "*64-bit*" $file_string ] {
set native_cflags "-m64"
+ } elseif [ string match "*32-bit*" $file_string ] {
+ set native_cflags "-m32"
}
}