On Tue, Mar 01, 2016 at 10:47:46PM +0100, Martin Jambor wrote:
> well, exactly what I wrote in the original email and what you have
> quoted (and me as well) above. But let me quote the dejagnu source
> comment of dg-runtest, which is perhaps more clear:
>
> # FLAGS is a set of options to always pass.
> # DEFAULT_EXTRA_FLAGS is a set of options to pass if the testcase
> # doesn't
> # specify any (with dg-option).
>
> So if I changed DEFAULT_EXTRA_FLAGS rather than FLAGS, I'd have to go
> through all testcases specifying dg-options and add -Wno-hsa there
> too. Moreover, we'd have to add -Wno-hsa to all appropriate future
> testcases if they specify their own dg-options.
Ah, ok; what about adding
# Disable HSA warnings by default.
lappend ALWAYS_CFLAGS "additional_flags=-Wno-hsa"
in libgomp/testsuite/lib/libgomp.exp (next to e.g.
-fno-diagnostics-show-caret)?
Jakub