]> git.ipfire.org Git - thirdparty/gcc.git/commit
LoongArch: testsuite: Add compilation options to the regname-fp-s9.c.
authorLulu Cheng <chenglulu@loongson.cn>
Thu, 7 Mar 2024 01:44:03 +0000 (09:44 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Sat, 9 Mar 2024 01:46:54 +0000 (09:46 +0800)
commit6fe63013e3292a45288461b7efa9d52e0ac234dc
treeb234325401404a8849ff4f7ba2a3c23d698b7c87
parent3a3fbec0a4d3f36de58df9ef0b3992a3ffb359c2
LoongArch: testsuite: Add compilation options to the regname-fp-s9.c.

When the value of the macro DEFAULT_CFLAGS is set to '-ansi -pedantic-errors',
regname-s9-fp.c will test to fail. To solve this problem, add the compilation
option '-Wno-pedantic -std=gnu90' to this test case.

gcc/testsuite/ChangeLog:

* gcc.target/loongarch/regname-fp-s9.c: Add compilation option
'-Wno-pedantic -std=gnu90'.
gcc/testsuite/gcc.target/loongarch/regname-fp-s9.c