rs6000: enable -fweb for small loops unrolling
[official-gcc.git] / libgomp / testsuite / lib / libgomp-dg.exp
blob726b924d67f3d26d97b4dfe4b4b34290564360ed
1 proc libgomp-dg-test { prog do_what extra_tool_flags } {
2 # Force the dumpbase for test.c to test.o, such that scan-offload-*-dump
3 # will work.
4 foreach opt $extra_tool_flags {
5 if { [regexp ^-foffload=-fdump- $opt] } {
6 lappend extra_tool_flags "-save-temps"
10 return [gcc-dg-test-1 libgomp_target_compile $prog $do_what $extra_tool_flags]
13 proc libgomp-dg-prune { system text } {
14 return [gcc-dg-prune $system $text]