[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 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] New: Segmentation fault on innocuous line in sub module

2025-01-30 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118710 Bug ID: 118710 Summary: Segmentation fault on innocuous line in sub module Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug fortran/118705] Issue compiling derived types when split into submodules

2025-01-30 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118705 --- Comment #2 from Ryan Koehler --- Hmm that is interesting. That fix seemed to work. Its been a while since I read the ISO standard, but I don't think what I sent over is out-of-spec. I do really appreciate that you found a really simple solu

[Bug fortran/118705] New: Issue compiling derived types when split into submodules

2025-01-30 Thread rtkoehle at mtu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118705 Bug ID: 118705 Summary: Issue compiling derived types when split into submodules Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Pr