2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-13 15:51:01 +08:00

[hsa testsuite] Suppress hsa warnings in libgomp tests

2016-03-07  Martin Jambor  <mjambor@suse.cz>

	* testsuite/lib/libgomp.exp (libgomp_init): Append -Wno-hsa to
	ALWAYS_CFLAGS.

From-SVN: r234045
This commit is contained in:
Martin Jambor 2016-03-07 19:41:18 +01:00 committed by Martin Jambor
parent b4e9f2aa1c
commit 45548f30c6
2 changed files with 8 additions and 0 deletions
libgomp

@ -1,3 +1,8 @@
2016-03-07 Martin Jambor <mjambor@suse.cz>
* testsuite/lib/libgomp.exp (libgomp_init): Append -Wno-hsa to
ALWAYS_CFLAGS.
2016-03-02 Jakub Jelinek <jakub@redhat.com>
PR libgomp/69555

@ -237,6 +237,9 @@ proc libgomp_init { args } {
# Disable caret
lappend ALWAYS_CFLAGS "additional_flags=-fno-diagnostics-show-caret"
# Disable HSA warnings by default.
lappend ALWAYS_CFLAGS "additional_flags=-Wno-hsa"
# Disable color diagnostics
lappend ALWAYS_CFLAGS "additional_flags=-fdiagnostics-color=never"