https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86170
Bug ID: 86170 Summary: New test case gcc.c-torture/compile/pr84195.c added in r261633 fails Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- make -k check-gcc RUNTESTFLAGS=compile.exp=gcc.c-torture/compile/pr84195.c . . . # of unexpected failures 14 FAIL: gcc.c-torture/compile/pr84195.c -O0 (test for warnings, line 15) FAIL: gcc.c-torture/compile/pr84195.c -O0 (test for excess errors) FAIL: gcc.c-torture/compile/pr84195.c -O1 (test for warnings, line 15) FAIL: gcc.c-torture/compile/pr84195.c -O1 (test for excess errors) FAIL: gcc.c-torture/compile/pr84195.c -O2 (test for warnings, line 15) FAIL: gcc.c-torture/compile/pr84195.c -O2 (test for excess errors) FAIL: gcc.c-torture/compile/pr84195.c -O3 -g (test for warnings, line 15) FAIL: gcc.c-torture/compile/pr84195.c -O3 -g (test for excess errors) FAIL: gcc.c-torture/compile/pr84195.c -Os (test for warnings, line 15) FAIL: gcc.c-torture/compile/pr84195.c -Os (test for excess errors) FAIL: gcc.c-torture/compile/pr84195.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for warnings, line 15) FAIL: gcc.c-torture/compile/pr84195.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) FAIL: gcc.c-torture/compile/pr84195.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for warnings, line 15) FAIL: gcc.c-torture/compile/pr84195.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) The excess warnings all seem to be this: /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.c-torture/compile/pr84195.c:13:12: note: declared here FAIL: gcc.c-torture/compile/pr84195.c -O0 (test for warnings, line 15) FAIL: gcc.c-torture/compile/pr84195.c -O0 (test for excess errors) Excess errors: /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.c-torture/compile/pr84195.c:15:3: warning: 'i' is deprecated: foo bar [-Wdeprecated-declarations]