* [Bug middle-end/19430] Missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
@ 2006-03-10 15:25 ` ciaccio at disi dot unige dot it
2006-03-10 15:28 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ciaccio at disi dot unige dot it @ 2006-03-10 15:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ciaccio at disi dot unige dot it 2006-03-10 15:25 -------
An even simpler test case of this bug (tested with gcc 3.4.5):
int main( void ) {
int rc;
return rc;
*&rc = 0;
}
> gcc -O -Wall program.c
(more stunning silence)
NOTE: in this example, there is no function invocation inside main().
NOTE: remove the last statement in the program, and the warning will show up.
g.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] Missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
2006-03-10 15:25 ` [Bug middle-end/19430] Missing uninitialized warning ciaccio at disi dot unige dot it
@ 2006-03-10 15:28 ` pinskia at gcc dot gnu dot org
2006-03-10 15:31 ` dnovillo 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 @ 2006-03-10 15:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-03-10 15:28 -------
(In reply to comment #7)
> An even simpler test case of this bug (tested with gcc 3.4.5):
That works correctly in 4.0.0 and above.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] Missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
2006-03-10 15:25 ` [Bug middle-end/19430] Missing uninitialized warning ciaccio at disi dot unige dot it
2006-03-10 15:28 ` pinskia at gcc dot gnu dot org
@ 2006-03-10 15:31 ` dnovillo at gcc dot gnu dot org
2006-03-10 15:37 ` mike at codeweavers dot com
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2006-03-10 15:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from dnovillo at gcc dot gnu dot org 2006-03-10 15:31 -------
Not going to work on this problem any time soon.
--
dnovillo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|dnovillo at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] Missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-03-10 15:31 ` dnovillo at gcc dot gnu dot org
@ 2006-03-10 15:37 ` mike at codeweavers dot com
2006-09-25 22:44 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mike at codeweavers dot com @ 2006-03-10 15:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from mike at codeweavers dot com 2006-03-10 15:37 -------
Can I bribe you to work on it by fixing a Wine bug in exchange? :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] Missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-03-10 15:37 ` mike at codeweavers dot com
@ 2006-09-25 22:44 ` pinskia at gcc dot gnu dot org
2007-03-02 23:36 ` skunk at iskunk dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-25 22:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pinskia at gcc dot gnu dot org 2006-09-25 22:44 -------
*** Bug 29227 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |debian-gcc at lists dot
| |debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] Missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-09-25 22:44 ` pinskia at gcc dot gnu dot org
@ 2007-03-02 23:36 ` skunk at iskunk dot org
2007-03-20 17:43 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: skunk at iskunk dot org @ 2007-03-02 23:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from skunk at iskunk dot org 2007-03-02 23:36 -------
Here's my minimal test case. Compile with "-O3 -Wall -c":
#include <stdio.h>
void frob(int *pi);
int main(void)
{
int i;
printf("i = %d\n", i);
frob(&i);
return 0;
}
No warning from 4.0.3 nor 4.1.2....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] Missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2007-03-02 23:36 ` skunk at iskunk dot org
@ 2007-03-20 17:43 ` pinskia at gcc dot gnu dot org
2007-08-15 15:36 ` [Bug middle-end/19430] V_MAY_DEF (taking address of var) causes missing " manu at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-20 17:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pinskia at gcc dot gnu dot org 2007-03-20 17:43 -------
*** Bug 31284 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] V_MAY_DEF (taking address of var) causes missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2007-03-20 17:43 ` pinskia at gcc dot gnu dot org
@ 2007-08-15 15:36 ` manu at gcc dot gnu dot org
2007-08-17 9:17 ` manu at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-08-15 15:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from manu at gcc dot gnu dot org 2007-08-15 15:36 -------
Trying to improve the summary to help spot duplicates.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Summary|Missing uninitialized |V_MAY_DEF (taking address of
|warning |var) causes missing
| |uninitialized warning
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] V_MAY_DEF (taking address of var) causes missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2007-08-15 15:36 ` [Bug middle-end/19430] V_MAY_DEF (taking address of var) causes missing " manu at gcc dot gnu dot org
@ 2007-08-17 9:17 ` manu at gcc dot gnu dot org
2008-08-20 22:32 ` manu at gcc dot gnu dot org
2009-11-19 12:01 ` manu at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-08-17 9:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from manu at gcc dot gnu dot org 2007-08-17 09:17 -------
This seems to me a duplicate of PR179. I am going to add a dependency to
remember to check this PR when PR179 gets fixed.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |179
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] V_MAY_DEF (taking address of var) causes missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2007-08-17 9:17 ` manu at gcc dot gnu dot org
@ 2008-08-20 22:32 ` manu at gcc dot gnu dot org
2009-11-19 12:01 ` manu at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-08-20 22:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from manu at gcc dot gnu dot org 2008-08-20 22:31 -------
All testcases except the one in the original description were actually
duplicates of PR179 and are thusly fixed.
The original testcase deals with PHI ops which is a completely different beast.
I added it XFAILED as gcc.dg/uninit-pr19430.c but I doubt it will get magically
fixed, so suggestions/patches welcome.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/19430] V_MAY_DEF (taking address of var) causes missing uninitialized warning
[not found] <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2008-08-20 22:32 ` manu at gcc dot gnu dot org
@ 2009-11-19 12:01 ` manu at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2009-11-19 12:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from manu at gcc dot gnu dot org 2009-11-19 12:00 -------
*** Bug 42079 has been marked as a duplicate of this bug. ***
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |m dot b dot lankhorst at
| |gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
^ permalink raw reply [flat|nested] 12+ messages in thread