public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45121]  New: [4.6 Regression] c-c++-common/uninit-17.c
@ 2010-07-29  1:02 hjl dot tools at gmail dot com
  2010-07-29  3:49 ` [Bug c++/45121] " hjl dot tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-29  1:02 UTC (permalink / raw)
  To: gcc-bugs

On Linux/x86-64, revision 162661 gave

FAIL: c-c++-common/uninit-17.c  (test for warnings, line 12)
FAIL: c-c++-common/uninit-17.c  (test for warnings, line 12)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat   (test for warnings, line 12)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat   (test for warnings, line 12)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat  (test for excess errors)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat  (test for excess errors)
FAIL: c-c++-common/uninit-17.c (test for excess errors)
FAIL: c-c++-common/uninit-17.c (test for excess errors)

Revision 162652 is OK.


-- 
           Summary: [4.6 Regression] c-c++-common/uninit-17.c
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/45121] [4.6 Regression] c-c++-common/uninit-17.c
  2010-07-29  1:02 [Bug c++/45121] New: [4.6 Regression] c-c++-common/uninit-17.c hjl dot tools at gmail dot com
@ 2010-07-29  3:49 ` hjl dot tools at gmail dot com
  2010-07-29  5:52 ` davidxl at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-29  3:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-07-29 03:49 -------
It is caused by revision 162653:

http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg01007.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davidxl at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/45121] [4.6 Regression] c-c++-common/uninit-17.c
  2010-07-29  1:02 [Bug c++/45121] New: [4.6 Regression] c-c++-common/uninit-17.c hjl dot tools at gmail dot com
  2010-07-29  3:49 ` [Bug c++/45121] " hjl dot tools at gmail dot com
@ 2010-07-29  5:52 ` davidxl at gcc dot gnu dot org
  2010-07-29  9:41 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: davidxl at gcc dot gnu dot org @ 2010-07-29  5:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from davidxl at gcc dot gnu dot org  2010-07-29 05:51 -------
The problem is that before the ivopt patch, the ivopt patch introduced a iv
candidate that is unconditionally initialized with b:

  ivtmp_xxx = b (D);

After the patch, this assignment no longer exists, and the use of b in the test
is via a PHI def -- thus the warning becomes 'may be uninitialized'.

Will fix the test case.

David


-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/45121] [4.6 Regression] c-c++-common/uninit-17.c
  2010-07-29  1:02 [Bug c++/45121] New: [4.6 Regression] c-c++-common/uninit-17.c hjl dot tools at gmail dot com
  2010-07-29  3:49 ` [Bug c++/45121] " hjl dot tools at gmail dot com
  2010-07-29  5:52 ` davidxl at gcc dot gnu dot org
@ 2010-07-29  9:41 ` rguenth at gcc dot gnu dot org
  2010-07-29 17:21 ` davidxl at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-29  9:41 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-29 09:40:46
               date|                            |
   Target Milestone|---                         |4.6.0


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/45121] [4.6 Regression] c-c++-common/uninit-17.c
  2010-07-29  1:02 [Bug c++/45121] New: [4.6 Regression] c-c++-common/uninit-17.c hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-07-29  9:41 ` rguenth at gcc dot gnu dot org
@ 2010-07-29 17:21 ` davidxl at gcc dot gnu dot org
  2010-07-29 22:30 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: davidxl at gcc dot gnu dot org @ 2010-07-29 17:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from davidxl at gcc dot gnu dot org  2010-07-29 17:21 -------
Fixed in r162687


-- 

davidxl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/45121] [4.6 Regression] c-c++-common/uninit-17.c
  2010-07-29  1:02 [Bug c++/45121] New: [4.6 Regression] c-c++-common/uninit-17.c hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2010-07-29 17:21 ` davidxl at gcc dot gnu dot org
@ 2010-07-29 22:30 ` hjl dot tools at gmail dot com
  2010-07-30 14:48 ` hjl dot tools at gmail dot com
  2010-07-30 18:54 ` hjl dot tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-29 22:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl dot tools at gmail dot com  2010-07-29 22:30 -------
It isn't fixed. Revision 162688 gave

FAIL: c-c++-common/uninit-17.c  (test for warnings, line 14)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat   (test for warnings, line 14)


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/45121] [4.6 Regression] c-c++-common/uninit-17.c
  2010-07-29  1:02 [Bug c++/45121] New: [4.6 Regression] c-c++-common/uninit-17.c hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2010-07-29 22:30 ` hjl dot tools at gmail dot com
@ 2010-07-30 14:48 ` hjl dot tools at gmail dot com
  2010-07-30 18:54 ` hjl dot tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-30 14:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl dot tools at gmail dot com  2010-07-30 14:48 -------
In fact, revision 162688 gave:

FAIL: c-c++-common/uninit-17.c  (test for warnings, line 12)
FAIL: c-c++-common/uninit-17.c  (test for warnings, line 14)
FAIL: c-c++-common/uninit-17.c (test for excess errors)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat   (test for warnings, line 12)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat   (test for warnings, line 14)
FAIL: c-c++-common/uninit-17.c  -Wc++-compat  (test for excess errors)


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2010-07-29 09:40:46         |2010-07-30 14:48:04
               date|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/45121] [4.6 Regression] c-c++-common/uninit-17.c
  2010-07-29  1:02 [Bug c++/45121] New: [4.6 Regression] c-c++-common/uninit-17.c hjl dot tools at gmail dot com
                   ` (5 preceding siblings ...)
  2010-07-30 14:48 ` hjl dot tools at gmail dot com
@ 2010-07-30 18:54 ` hjl dot tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-30 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl dot tools at gmail dot com  2010-07-30 18:54 -------
Fixed by revision 162720.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-07-30 18:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-29  1:02 [Bug c++/45121] New: [4.6 Regression] c-c++-common/uninit-17.c hjl dot tools at gmail dot com
2010-07-29  3:49 ` [Bug c++/45121] " hjl dot tools at gmail dot com
2010-07-29  5:52 ` davidxl at gcc dot gnu dot org
2010-07-29  9:41 ` rguenth at gcc dot gnu dot org
2010-07-29 17:21 ` davidxl at gcc dot gnu dot org
2010-07-29 22:30 ` hjl dot tools at gmail dot com
2010-07-30 14:48 ` hjl dot tools at gmail dot com
2010-07-30 18:54 ` hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).