This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19430] Missing uninitialized warning
- From: "skunk at iskunk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2007 23:36:20 -0000
- Subject: [Bug middle-end/19430] Missing uninitialized warning
- References: <bug-19430-9033@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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