https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122511
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Edwin Lu from comment #2)
> Yeah sorry I saw pr122497 after I submitted this bug. I checked gcc 14/15
> and it seems like risc-v doesn't ICE. I'll close this if your change today
> fixes this
It was not the patch for PR 122497 which fixed this but rather PR 122502. So
closing as a dup of that.
final value replacement:
_51 = PHI <_28(5)>
with expr: b_lsm.8_21 & _24
final stmt:
_51 = b_lsm.8_21 & _24;
# .MEM_50 = PHI <.MEM_39(5)>
_51 = b_lsm.8_21 & _24;
if (_51 != 0) ;; crash here
goto <bb 15>; [89.00%]
else
goto <bb 8>; [11.00%]
;; succ: 15 [89.0% (guessed)] count:50266146 (estimated locally, freq
58.2619) (TRUE_VALUE,EXECUTABLE)
;; 8 [11.0% (guessed)] count:6212670 (estimated locally, freq
7.2009) (FALSE_VALUE,EXECUTABLE)
*** This bug has been marked as a duplicate of bug 122502 ***