[Bug fortran/117302] merge + present generates invalid code

2024-10-28 Thread gigor-ads at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117302 --- Comment #4 from Igor S Gerasimov --- Oh... I did not know that this code is invalid. I will try to create a warning about this situation when I will have a time.

[Bug fortran/117302] merge + present generates invalid code

2024-10-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117302 --- Comment #3 from Andrew Pinski --- Note flang produces the same code while ifort/ifx produces the if/then. But as mentioned in those links the code is undefined because merge does not need to be evulate the expressions conditionally.

[Bug fortran/117302] merge + present generates invalid code

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

[Bug fortran/117302] merge + present generates invalid code

2024-10-25 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117302 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --