https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67051
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Ever confirmed|0 |1
Last reconfirmed| |2022-01-06
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed testcase:
int i;
int j;
int f(void)
{
return &i != &j;
}
Compile with -O2 -fcommon and you will see the problem. Note this might be less
important now that -fno-common is the default.