[Bug tree-optimization/100053] tree-fre incorrectly delete a condition

2021-04-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100053 --- Comment #4 from Richard Biener --- Created attachment 50579 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50579&action=edit fix for the issue I am testing this patch - maybe you can test it on the original testcase you cannot disclos

[Bug tree-optimization/100053] tree-fre incorrectly delete a condition

2021-04-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100053 --- Comment #3 from Richard Biener --- It would be nice if the reduced testcase could be sanitized to throw less diagnostics with -Wall, likewise if it were a runtime testcase. Reduced: int __attribute__((returns_twice,noipa)) x() { return 0;

[Bug tree-optimization/100053] tree-fre incorrectly delete a condition

2021-04-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100053 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-04-13 Assignee|unassign

[Bug tree-optimization/100053] tree-fre incorrectly delete a condition

2021-04-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100053 --- Comment #1 from Andrew Pinski --- Removing unexecutable edge from if (init_101(D) == 0) Merging blocks 25 and 26