--- 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
-
--- 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
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
--
--- 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
-
--- 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
--- 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
--- 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
--- 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, t
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-12
21:55 ---
*** Bug 23844 has been marked as a duplicate of this bug. ***
--
What|Removed |Added
--- Additional Comments From mike at codeweavers dot com 2005-09-10 08:07
---
Simplifying things a bit:
void foo(int*);
void bar(void) { int x; if(x) foo(&x); }
gcc -c foo.c -Wall -O2 -Wuninitialized
(More stunning silence.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10
02:19 ---
(In reply to comment #3)
> (In reply to comment #1)
> > Confirmed. It doesn't work on mainline either. The warning machinery is
> > getting confused with the first V_MAY_DEF to j in the first call to 'bar(
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10
02:17 ---
(In reply to comment #1)
> Confirmed. It doesn't work on mainline either. The warning machinery is
> getting confused with the first V_MAY_DEF to j in the first call to 'bar()'.
Actually the warning machin
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-10
02:16 ---
*** Bug 23805 has been marked as a duplicate of this bug. ***
--
What|Removed |Added
--
What|Removed |Added
Severity|normal |minor
Component|c |middle-end
Keywords|
13 matches
Mail list logo