This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/22297] New: [4.0/4.1 Regression] missing uninitialization warning
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jul 2005 20:31:09 -0000
- Subject: [Bug middle-end/22297] New: [4.0/4.1 Regression] missing uninitialization warning
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Take the following code (useless example but just shows the problem, there are other testcase which
show the problem too which less useless):
#include <string.h>
int g(char *);
int f(void)
{
char *s;
strcpy(s,s);
return g(s);
}
--
Summary: [4.0/4.1 Regression] missing uninitialization warning
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: minor
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22297