[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-31 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 --- Comment #8 from kargls at comcast dot net --- I just looked at your code in bugreport2.tar.gz. It uses a parameterized derived type. PDT are broken on gfortran. Unfortunately, there is no easy fix for PDT, and it has been suggested it needs

[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-31 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 --- Comment #7 from Ryan Koehler --- Created attachment 60342 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60342&action=edit Code that compiles with the patch and ifx, but not with gfortran 14.

[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-31 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 --- Comment #6 from Ryan Koehler --- I just attached a main program to work with the provided files. The internal logic of the main program is garbage, but it does run the code and give an errorless output. This code does not compile with gfort

[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-31 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 --- Comment #5 from kargls at comcast dot net --- (In reply to Ryan Koehler from comment #4) > Created attachment 60339 [details] > Example code that throws error with this patch Thanks. I was afraid that wrong code would occur or I simply put

[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-31 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 --- Comment #4 from Ryan Koehler --- Created attachment 60339 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60339&action=edit Example code that throws error with this patch

[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-31 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 --- Comment #3 from Ryan Koehler --- Hey, I lied. I think the patch introduced a new compiler bug. When I pulled and patched gcc (15.0.1 experimental) I ran into the bug that I mentioned in my previous comment. here is the error message: pier_

[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-31 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 --- Comment #2 from Ryan Koehler --- I made the first patch you recommended to the compiler and my sample code did indeed compile. When I took the patched compiler back into the much larger code base to compile, I ran into another internal compi

[Bug fortran/118710] Segmentation fault on innocuous line in sub module

2025-01-30 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --