[Bug middle-end/106692] [10/11/12/13 Regression] Cray pointer comparison wrongly optimized away

2022-08-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug middle-end/106692] [10/11/12/13 Regression] Cray pointer comparison wrongly optimized away

2022-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 --- Comment #2 from Andrew Pinski --- (In reply to Marek Polacek from comment #1) > Started with r238754 but removing that match.pd doesn't help, so the problem > is elsewhere. > > We optimize away zz1_1(D) != 0: > > __attribute__((fn spec

[Bug middle-end/106692] [10/11/12/13 Regression] Cray pointer comparison wrongly optimized away

2022-08-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106692 --- Comment #1 from Marek Polacek --- Started with r238754 but removing that match.pd doesn't help, so the problem is elsewhere. We optimize away zz1_1(D) != 0: __attribute__((fn spec (". w "))) void shape_cray (real(kind=4) & restrict zz1)