public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <bug-179-25@http.gcc.gnu.org/bugzilla/>
@ 2007-08-15 14:23 ` manu at gcc dot gnu dot org
  2007-08-16 10:19 ` manu at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 13+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-08-15 14:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from manu at gcc dot gnu dot org  2007-08-15 14:22 -------
(In reply to comment #8)
> *** Bug 17172 has been marked as a duplicate of this bug. ***
> 
I see that the xfail is still there, so how can this be fixed ?
http://gcc.gnu.org/svn/gcc/trunk/gcc/testsuite/gcc.dg/uninit-B.c


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <bug-179-25@http.gcc.gnu.org/bugzilla/>
  2007-08-15 14:23 ` [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x manu at gcc dot gnu dot org
@ 2007-08-16 10:19 ` manu at gcc dot gnu dot org
  2008-01-13 15:48 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 13+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-08-16 10:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from manu at gcc dot gnu dot org  2007-08-16 10:19 -------
Some analysis http://gcc.gnu.org/ml/gcc/2007-08/msg00271.html


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dnovillo at google dot com
   Last reconfirmed|2004-03-04 02:59:01         |2007-08-16 10:19:12
               date|                            |


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <bug-179-25@http.gcc.gnu.org/bugzilla/>
  2007-08-15 14:23 ` [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x manu at gcc dot gnu dot org
  2007-08-16 10:19 ` manu at gcc dot gnu dot org
@ 2008-01-13 15:48 ` rguenth at gcc dot gnu dot org
  2008-08-11 13:20 ` [Bug middle-end/179] -Wuninitialized missing warning with &var manu at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-13 15:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2008-01-13 15:40 -------
Non-regressions should not have a target milestone set.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |---


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


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

* [Bug middle-end/179] -Wuninitialized missing warning with &var
       [not found] <bug-179-25@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2008-01-13 15:48 ` rguenth at gcc dot gnu dot org
@ 2008-08-11 13:20 ` manu at gcc dot gnu dot org
  2008-08-20 22:26 ` manu at gcc dot gnu dot org
  2008-08-20 22:28 ` manu at gcc dot gnu dot org
  5 siblings, 0 replies; 13+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-08-11 13:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from manu at gcc dot gnu dot org  2008-08-11 13:18 -------
Patch: 

http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00696.html

Comments welcome!


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gcc -O2 -Wuninitialized     |-Wuninitialized missing
                   |missing warning with &var   |warning with &var
                   |under 2.95.x and 3.x        |


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


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

* [Bug middle-end/179] -Wuninitialized missing warning with &var
       [not found] <bug-179-25@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2008-08-11 13:20 ` [Bug middle-end/179] -Wuninitialized missing warning with &var manu at gcc dot gnu dot org
@ 2008-08-20 22:26 ` manu at gcc dot gnu dot org
  2008-08-20 22:28 ` manu at gcc dot gnu dot org
  5 siblings, 0 replies; 13+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-08-20 22:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from manu at gcc dot gnu dot org  2008-08-20 22:25 -------
Subject: Bug 179

Author: manu
Date: Wed Aug 20 22:23:45 2008
New Revision: 139347

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139347
Log:
2008-08-21  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR middle-end/179
        * tree-ssa.c (warn_uninit): Do not warn for variables that can be
        initialized outside the current module.
        (warn_uninitialized_var): Ignore left-hand side when walking the
        trees. Ignore address expressions. Examine VUSE operands in gimple
        statements with a variable declaration on the right-hand side.
testsuite/
        * gcc.dg/uninit-6.c (make_something): Remove XFAIL.
        * gcc.dg/uninit-6-O0.c (make_something): Remove XFAIL.
        * gcc.dg/uninit-B.c (baz): Remove XFAIL.
        * gcc.dg/uninit-B-2.c: New.
        * gcc.dg/uninit-B-O0-2.c: New.
        * gcc.dg/uninit-pr19430-O0.c: New.
        * gcc.dg/uninit-pr19430.c: New.
        * gcc.dg/uninit-pr19430-2.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/uninit-B-2.c
    trunk/gcc/testsuite/gcc.dg/uninit-B-O0-2.c
    trunk/gcc/testsuite/gcc.dg/uninit-pr19430-2.c
    trunk/gcc/testsuite/gcc.dg/uninit-pr19430-O0.c
    trunk/gcc/testsuite/gcc.dg/uninit-pr19430.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/uninit-6-O0.c
    trunk/gcc/testsuite/gcc.dg/uninit-6.c
    trunk/gcc/testsuite/gcc.dg/uninit-B.c
    trunk/gcc/tree-ssa.c


-- 


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


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

* [Bug middle-end/179] -Wuninitialized missing warning with &var
       [not found] <bug-179-25@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2008-08-20 22:26 ` manu at gcc dot gnu dot org
@ 2008-08-20 22:28 ` manu at gcc dot gnu dot org
  5 siblings, 0 replies; 13+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-08-20 22:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from manu at gcc dot gnu dot org  2008-08-20 22:27 -------
This is FIXED in GCC 4.4


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <20000422001600.179.martin@v.loewis.de>
                   ` (4 preceding siblings ...)
  2004-05-13 19:19 ` pinskia at gcc dot gnu dot org
@ 2004-08-25 21:16 ` pinskia at gcc dot gnu dot org
  2004-08-25 21:16 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-25 21:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-25 21:16 -------
*** Bug 17172 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wxy at kivera dot com


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <20000422001600.179.martin@v.loewis.de>
                   ` (5 preceding siblings ...)
  2004-08-25 21:16 ` pinskia at gcc dot gnu dot org
@ 2004-08-25 21:16 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-25 21:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-25 21:16 -------
*** Bug 17191 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nomura at netapp dot com


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <20000422001600.179.martin@v.loewis.de>
                   ` (3 preceding siblings ...)
  2003-12-17 17:17 ` pinskia at gcc dot gnu dot org
@ 2004-05-13 19:19 ` pinskia at gcc dot gnu dot org
  2004-08-25 21:16 ` pinskia at gcc dot gnu dot org
  2004-08-25 21:16 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13 19:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-13 11:31 -------
Fixed for 3.5.0 by the merge of the tree-ssa.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|tree-ssa                    |3.5.0


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <20000422001600.179.martin@v.loewis.de>
                   ` (2 preceding siblings ...)
  2003-12-17 17:17 ` pinskia at gcc dot gnu dot org
@ 2003-12-17 17:17 ` pinskia at gcc dot gnu dot org
  2004-05-13 19:19 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-17 17:17 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <20000422001600.179.martin@v.loewis.de>
  2003-11-16  0:09 ` [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x pinskia at gcc dot gnu dot org
  2003-12-17  0:49 ` pinskia at gcc dot gnu dot org
@ 2003-12-17 17:17 ` pinskia at gcc dot gnu dot org
  2003-12-17 17:17 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-17 17:17 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |enhancement


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <20000422001600.179.martin@v.loewis.de>
  2003-11-16  0:09 ` [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x pinskia at gcc dot gnu dot org
@ 2003-12-17  0:49 ` pinskia at gcc dot gnu dot org
  2003-12-17 17:17 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-17  0:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-17 00:40 -------
Leaving as suspending as someone needs to update the testcase.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |xfail


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


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

* [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x
       [not found] <20000422001600.179.martin@v.loewis.de>
@ 2003-11-16  0:09 ` pinskia at gcc dot gnu dot org
  2003-12-17  0:49 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-16  0:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-16 00:09 -------
Suspending as it is fixed on the tree-ssa branch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED
   Target Milestone|---                         |tree-ssa


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


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

end of thread, other threads:[~2008-08-20 22:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-179-25@http.gcc.gnu.org/bugzilla/>
2007-08-15 14:23 ` [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x manu at gcc dot gnu dot org
2007-08-16 10:19 ` manu at gcc dot gnu dot org
2008-01-13 15:48 ` rguenth at gcc dot gnu dot org
2008-08-11 13:20 ` [Bug middle-end/179] -Wuninitialized missing warning with &var manu at gcc dot gnu dot org
2008-08-20 22:26 ` manu at gcc dot gnu dot org
2008-08-20 22:28 ` manu at gcc dot gnu dot org
     [not found] <20000422001600.179.martin@v.loewis.de>
2003-11-16  0:09 ` [Bug middle-end/179] gcc -O2 -Wuninitialized missing warning with &var under 2.95.x and 3.x pinskia at gcc dot gnu dot org
2003-12-17  0:49 ` pinskia at gcc dot gnu dot org
2003-12-17 17:17 ` pinskia at gcc dot gnu dot org
2003-12-17 17:17 ` pinskia at gcc dot gnu dot org
2004-05-13 19:19 ` pinskia at gcc dot gnu dot org
2004-08-25 21:16 ` pinskia at gcc dot gnu dot org
2004-08-25 21:16 ` pinskia at gcc dot gnu dot org

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).