public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/18501] New: Missing 'used unintialized' warning
@ 2004-11-15 13:35 nathan at gcc dot gnu dot org
2004-11-15 13:36 ` [Bug tree-optimization/18501] " nathan at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-11-15 13:35 UTC (permalink / raw)
To: gcc-bugs
The attached testcase has an uninitialized variable, it is not
diagnosed with -O2 -W -Wall. Gcc 3.2 says,
uninit.i: In function `bitmap_print_value_set':
uninit.i:8: warning: `first' might be used uninitialized in this function
this is a regression
--
Summary: Missing 'used unintialized' warning
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nathan at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
@ 2004-11-15 13:36 ` nathan at gcc dot gnu dot org
2004-11-15 13:50 ` [Bug tree-optimization/18501] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: nathan at gcc dot gnu dot org @ 2004-11-15 13:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From nathan at gcc dot gnu dot org 2004-11-15 13:36 -------
Created an attachment (id=7548)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7548&action=view)
test case, from tree-ssa-pre.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.0 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
2004-11-15 13:36 ` [Bug tree-optimization/18501] " nathan at gcc dot gnu dot org
@ 2004-11-15 13:50 ` pinskia at gcc dot gnu dot org
2004-12-05 4:04 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-15 13:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-15 13:50 -------
Confirmed, CCP is removing the use of the uninitialized variable.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dberlin at gcc dot gnu dot
| |org, dnovillo at gcc dot gnu
| |dot org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2004-11-15 13:50:26
date| |
Summary|Missing 'used unintialized' |[4.0 Regression] Missing
|warning |'used unintialized' warning
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.0 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
2004-11-15 13:36 ` [Bug tree-optimization/18501] " nathan at gcc dot gnu dot org
2004-11-15 13:50 ` [Bug tree-optimization/18501] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-05 4:04 ` pinskia at gcc dot gnu dot org
2004-12-15 14:52 ` dnovillo at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-05 4:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-05 04:04 -------
It has never worked on the tree-ssa branch.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|i686-pc-linux-gnu |
Last reconfirmed|2004-11-15 13:50:26 |2004-12-05 04:04:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.0 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-12-05 4:04 ` pinskia at gcc dot gnu dot org
@ 2004-12-15 14:52 ` dnovillo at gcc dot gnu dot org
2004-12-16 20:42 ` dnovillo at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2004-12-15 14:52 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dnovillo at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.0 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-12-15 14:52 ` dnovillo at gcc dot gnu dot org
@ 2004-12-16 20:42 ` dnovillo at gcc dot gnu dot org
2004-12-17 22:21 ` dnovillo at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2004-12-16 20:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at gcc dot gnu dot org 2004-12-16 20:42 -------
This is not really fixable.
Analysis: http://gcc.gnu.org/ml/gcc/2004-12/msg00681.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.0 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-12-16 20:42 ` dnovillo at gcc dot gnu dot org
@ 2004-12-17 22:21 ` dnovillo at gcc dot gnu dot org
2005-05-11 2:25 ` dnovillo at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2004-12-17 22:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at gcc dot gnu dot org 2004-12-17 22:21 -------
Fix: http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01314.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.0 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-12-17 22:21 ` dnovillo at gcc dot gnu dot org
@ 2005-05-11 2:25 ` dnovillo at gcc dot gnu dot org
2005-05-11 10:57 ` [Bug tree-optimization/18501] [4.1 " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2005-05-11 2:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at gcc dot gnu dot org 2005-05-11 02:25 -------
Re-opening. A re-organization of the tree optimizers is causing us to
misdiagnose this test case once again. I am going to work on a better warning
implementation that doesn't get confused so easily.
See http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00955.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.1 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-05-11 2:25 ` dnovillo at gcc dot gnu dot org
@ 2005-05-11 10:57 ` pinskia at gcc dot gnu dot org
2005-06-26 18:10 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-11 10:57 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0 Regression] Missing |[4.1 Regression] Missing
|'used unintialized' warning |'used unintialized' warning
Target Milestone|4.0.0 |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.1 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-05-11 10:57 ` [Bug tree-optimization/18501] [4.1 " pinskia at gcc dot gnu dot org
@ 2005-06-26 18:10 ` pinskia at gcc dot gnu dot org
2005-07-28 21:58 ` pinskia at gcc dot gnu dot org
2005-09-25 11:38 ` bonzini at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-26 18:10 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.1 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-06-26 18:10 ` pinskia at gcc dot gnu dot org
@ 2005-07-28 21:58 ` pinskia at gcc dot gnu dot org
2005-09-25 11:38 ` bonzini at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-28 21:58 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug tree-optimization/18501] [4.1 Regression] Missing 'used unintialized' warning
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-07-28 21:58 ` pinskia at gcc dot gnu dot org
@ 2005-09-25 11:38 ` bonzini at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-09-25 11:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bonzini at gcc dot gnu dot org 2005-09-25 11:37 -------
Personally, I prefer misdiagnosing uninit-5.c as a possible uninitialized use,
rather than missing this pretty nasty case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-09-25 11:37 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-15 13:35 [Bug tree-optimization/18501] New: Missing 'used unintialized' warning nathan at gcc dot gnu dot org
2004-11-15 13:36 ` [Bug tree-optimization/18501] " nathan at gcc dot gnu dot org
2004-11-15 13:50 ` [Bug tree-optimization/18501] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-05 4:04 ` pinskia at gcc dot gnu dot org
2004-12-15 14:52 ` dnovillo at gcc dot gnu dot org
2004-12-16 20:42 ` dnovillo at gcc dot gnu dot org
2004-12-17 22:21 ` dnovillo at gcc dot gnu dot org
2005-05-11 2:25 ` dnovillo at gcc dot gnu dot org
2005-05-11 10:57 ` [Bug tree-optimization/18501] [4.1 " pinskia at gcc dot gnu dot org
2005-06-26 18:10 ` pinskia at gcc dot gnu dot org
2005-07-28 21:58 ` pinskia at gcc dot gnu dot org
2005-09-25 11:38 ` bonzini 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).