https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89717

            Bug ID: 89717
           Summary: Test case gcc.dg/uninit-pred-8_b.c fails after r269650
           Product: gcc
           Version: 8.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

This test case is failing (see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89551 for previous failure on
trunk).  I'd guess the fix for that also needs to be backported.

make -k check-gcc RUNTESTFLAGS=dg.exp=gcc.dg/uninit-pred-8_b.c
. . .
spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-8-test/gcc/xgcc
-B/home/seurer/gcc/build/gcc-8-test/gcc/
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -Wuninitialized -O2 -S -o
uninit-pred-8_b.s
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo':
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:20:7:
warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo_2':
/home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:39:7:
warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 20)
PASS: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 23)
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 39)
FAIL: gcc.dg/uninit-pred-8_b.c warning (test for warnings, line 42)
PASS: gcc.dg/uninit-pred-8_b.c (test for excess errors)
testcase /home/seurer/gcc/gcc-8-test/gcc/testsuite/gcc.dg/dg.exp completed in 0
seconds

                === gcc Summary ===

# of expected passes            2
# of unexpected failures        3

Reply via email to