[Bug middle-end/108425] Invalid DSE

2023-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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

[Bug middle-end/108425] Invalid DSE

2023-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Status|REOPENED

[Bug middle-end/108425] Invalid DSE

2023-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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 ...

[Bug middle-end/108425] Invalid DSE

2023-01-16 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425 Jan Hubicka changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug middle-end/108425] Invalid DSE

2023-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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

[Bug middle-end/108425] Invalid DSE

2023-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108425 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---