[Bug rtl-optimization/89944] [7/8/9 Regression] ICE in mark_jump_label_1, at jump.c:1152

2019-04-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89944

Eric Botcazou  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ebotcazou at gcc dot gnu.org
 Resolution|--- |WONTFIX

--- Comment #2 from Eric Botcazou  ---
 -- Built-in Function: void __builtin_longjmp (intptr_t *BUF, int VAL)
 This function restores the stack context in BUF, saved by a
 previous call to `__builtin_setjmp'.  After `__builtin_longjmp' is
 finished, the program resumes execution as if the matching
 `__builtin_setjmp' returns the value VAL, which must be 1.

 Because `__builtin_longjmp' depends on the function return
 mechanism to restore the stack context, it cannot be called from
 the same function calling `__builtin_setjmp' to initialize BUF.
 It can only be called from a function called (directly or
 indirectly) from the function calling `__builtin_setjmp'.

[Bug rtl-optimization/89944] [7/8/9 Regression] ICE in mark_jump_label_1, at jump.c:1152

2019-04-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89944

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-04-05
  Component|middle-end  |rtl-optimization
  Known to work||4.3.6
   Target Milestone|--- |7.5
 Ever confirmed|0   |1
  Known to fail||4.8.5, 7.4.0, 8.3.0

--- Comment #1 from Richard Biener  ---
Confirmed.