This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regression/49498] New: [4.7 Regression]: gcc.dg/uninit-pred-8_b.c bogus warning line 20


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49498

           Summary: [4.7 Regression]: gcc.dg/uninit-pred-8_b.c bogus
                    warning line 20
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hp@gcc.gnu.org
                CC: law@gcc.gnu.org, jamborm@gcc.gnu.org


With revision 175107 this test passed.
>From revision 175123 and on, this test has failed as follows:

Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/dg.exp ...
...
FAIL: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 20)

With the message in the gcc.log being:

Executing on host: /tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/gcc/
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c  
-Wuninitialized -O2 -S   -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/./newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include  -o uninit-pred-8_b.s    (timeout
= 300)
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo':

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:20:11: warning:
'v' may be used uninitialized in this function [-Wmaybe-uninitialized]

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo_2':

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:42:11: warning:
'v' may be used uninitialized in this function [-Wmaybe-uninitialized]

output is:
/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo':

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:20:11: warning:
'v' may be used uninitialized in this function [-Wmaybe-uninitialized]

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c: In function
'foo_2':

/tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/uninit-pred-8_b.c:42:11: 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)
PASS: gcc.dg/uninit-pred-8_b.c bogus warning (test for bogus messages, line 39)
PASS: 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)

Authors of patches in suspect revision range CC:ed.

I see this for multiple targets on reports to gcc-testresults@ (mmix, mips,
avr, m32c), but oddly not for some of the main targets (x86_64, i686, arm).

I'm guessing that this isn't jamborm's commit r175111 but will triage and
update.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]