This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/86016] New: New tests for r260978 report excess errors
- From: "seurer at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 31 May 2018 16:29:05 +0000
- Subject: [Bug testsuite/86016] New: New tests for r260978 report excess errors
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86016
Bug ID: 86016
Summary: New tests for r260978 report excess errors
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: ---
Some of the new tests are reporting excess errors like this:
# of expected passes 14
# of unexpected failures 7
FAIL: gcc.dg/noncompile/pr55976-1.c -O0 (test for excess errors)
FAIL: gcc.dg/noncompile/pr55976-1.c -O1 (test for excess errors)
FAIL: gcc.dg/noncompile/pr55976-1.c -O2 (test for excess errors)
FAIL: gcc.dg/noncompile/pr55976-1.c -O3 -g (test for excess errors)
FAIL: gcc.dg/noncompile/pr55976-1.c -Os (test for excess errors)
FAIL: gcc.dg/noncompile/pr55976-1.c -O2 -flto -fno-use-linker-plugin
-flto-partition=none (test for excess errors)
FAIL: gcc.dg/noncompile/pr55976-1.c -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects (test for excess errors)
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -Werror=return-type
-S -o pr55976-1.s
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c: In
function 't':
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c:7:20:
error: 'return' with a value, in function returning void [-Werror=return-type]
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c:7:6:
note: declared here
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c: In
function 'b':
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c:8:12:
error: 'return' with no value, in function returning non-void
[-Werror=return-type]
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/noncompile/pr55976-1.c:8:5:
note: declared here
cc1: some warnings being treated as errors
compiler exited with status 1
PASS: gcc.dg/noncompile/pr55976-1.c -O0 function returning void (test for
errors, line 7)
PASS: gcc.dg/noncompile/pr55976-1.c -O0 function returning non-void (test
for errors, line 8)
FAIL: gcc.dg/noncompile/pr55976-1.c -O0 (test for excess errors)
Excess errors:
cc1: some warnings being treated as errors