[ARM] Fix PR85203: cmse_nonsecure_caller returns wrong result
[official-gcc.git] / gcc / testsuite / obj-c++.dg / tls / tls.exp
bloba4ba6393fa6b3226610543c8710a52e58f451357
1 # Load support procs.
2 load_lib obj-c++-dg.exp
4 # If a testcase doesn't have special options, use these.
5 global DEFAULT_OBJCXXFLAGS
6 if ![info exists DEFAULT_OBJCXXFLAGS] then {
7 set DEFAULT_OBJCXXFLAGS " -ansi -pedantic-errors -Wno-long-long"
10 # Initialize `dg'.
11 dg-init
13 # Gather a list of all tests.
14 set tests [lsort [glob -nocomplain $srcdir/$subdir/*.mm]]
16 # Main loop.
17 dg-runtest $tests "-fgnu-runtime" $DEFAULT_OBJCXXFLAGS
19 # darwin targets can also run code with the NeXT runtime.
20 if [istarget "*-*-darwin*" ] {
21 dg-runtest $tests "-fnext-runtime" $DEFAULT_OBJCXXFLAGS
24 # All done.
25 dg-finish