[Bug tree-optimization/87415] [9 Regression] wrong code at -O1 and above on x86_64-linux-gnu
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 25 07:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87415
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-09-25
CC| |aldyh at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
Known to work| |8.2.0
Version|unknown |9.0
Target Milestone|--- |9.0
Summary|wrong code at -O1 and above |[9 Regression] wrong code
|on x86_64-linux-gnu |at -O1 and above on
| |x86_64-linux-gnu
Ever confirmed|0 |1
Known to fail| |9.0
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r264307.
Better test-case:
cat pr87415.c
struct A
{
int b:1;
};
int d;
int main ()
{
struct A e = { 0 };
if (!d)
e.b = -1;
if (!e.b)
__builtin_abort ();
return 0;
}
More information about the Gcc-bugs
mailing list