https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91225
Bug ID: 91225
Summary: Warning should be produced for a variable initialized
by itself at the declaration
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: hubicka at gcc dot gnu.org
Target Milestone: ---
Hi,
the following should probably produce warning at least with -Wall.
void foo(void)
{
int a = a;
}
