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
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]