[Bug rtl-optimization/52490] RTL DCE removes trapping const libcalls

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

[Bug rtl-optimization/52490] RTL DCE removes trapping const libcalls

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52490 --- Comment #3 from Andrew Pinski --- Fixed for GCC 7.5.0, GCC 8.3.0 and GCC 9+ by the patch which fixed PR 89188.

[Bug rtl-optimization/52490] RTL DCE removes trapping const libcalls

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52490 Andrew Pinski changed: What|Removed |Added Known to fail||6.4.0, 7.4.0, 8.1.0 Known to work|

[Bug rtl-optimization/52490] RTL DCE removes trapping const libcalls

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52490 --- Comment #1 from Andrew Pinski --- Starting in GCC 12, the addition is removed at the gimple level.