aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/981006-1.x
blob: 80d53daac296e488cc244628156194c1c00246b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# For MIPS at least, pic is needed to trigger the problem.
if { [istarget rs6000-*-aix*]
     || [istarget powerpc*-*-aix*]
     || [istarget arm*-*-*]       
     || [istarget strongarm*-*-*]
     || [istarget fr30-*-*]
     || [istarget sh-*-hms]
     || [istarget sh-*-coff]
     || [istarget h8300*-*-*]
} {
    set options "-Wuninitialized -Werror"
} else {
    set options "-Wuninitialized -Werror -fpic"
}
return 0