https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821
Bug ID: 66821 Summary: reassoc-37.c fails on -march=pentium Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: julia.koval at intel dot com Target Milestone: --- FAIL: gcc.dg/tree-ssa/reassoc-37.c scan-tree-dump optimized "(8784908|0x0*860c0c)" FAIL: gcc.dg/tree-ssa/reassoc-37.c scan-tree-dump optimized "(<<|>>)" ./gcc -m32 reassoc-37.c 193.t.optimised pass generates: <bb 2>: _26 = (unsigned int) x_2(D); if (_26 > 23) goto <bb 4>; else goto <bb 3>; <bb 3>: _28 = 8784908 >> x_2(D); _29 = _28 & 1; _34 = ~_28; _32 = _34 & 1; _30 = (_Bool) _34; if (_30 != 0) goto <bb 4>; else goto <bb 5>; ./gcc -m32 -march=pentium 193.t.optimised pass generates: <bb 2>: _22 = (unsigned int) x_2(D); _23 = _22 & 4294967287; _24 = _23 + 4294967294; if (_24 > 1) goto <bb 3>; else goto <bb 6>; <bb 3>: _20 = _22 + 4294967279; if (_20 > 1) goto <bb 4>; else goto <bb 6>;