https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127401
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[14/15/16/17 Regression] |[14/15/16/17 Regression]
|wrong code at |wrong code at
|-O2/-O3/-Os/-Oz |-O2/-O3/-Os/-Oz since
| |r14-1597
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=116098,
| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=120122
--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Drea Pinski from comment #2)
> hoist_adjacent_loads is so old. It is also of questionable nature in general.
hoist_adjacent_loads was added in r0-117275-g372a6eb8d991eb (and not much
changes since; just small fixes). There was no testcases added either.
if (d_11(D) != 0)
goto <bb 5>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 5> [local count: 536870912]:
<bb 6> [local count: 1073741824]:
# _5 = PHI <1(5), r_9(4)>
Which means the wrong code started with r14-1597-g64d90d06d2db43 .