https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425
--- Comment #6 from Andrew Pinski ---
(In reply to Jan Hubicka from comment #3)
> short a;
> int *null;
> int
> test(int val1, int val2)
> {
> a=1;
> int r = val1/val2;
> a=3;
> return r;
> }
Which is already f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |13.0
Status|REOPENED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425
--- Comment #4 from Andrew Pinski ---
(In reply to Jan Hubicka from comment #3)
> We do not delete the stmt causing EH. Also the flag does not fix it:
Because it was broken in GCC 12 but was fixed on the trunk ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425
Jan Hubicka changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425
--- Comment #2 from Andrew Pinski ---
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Code-Gen-Options.html#index-fdelete-dead-exceptions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---