[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 George Hockney changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #11 from George Hockney --- We've verified a large-scale legacy build against GNU Fortran (gcc8.2) 11.0.0 2020 (experimental) and GNU Fortran (GCC) 10.2.1 20201017 All our regressions pass these compilers. Therefore, I'm changing the status to verified (this is per our bugzilla workflow; if it's not your workflow please fix) Unfortunately, 10.2.0 was released with this bug.
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING |RESOLVED --- Comment #10 from Thomas Koenig --- Test case committed to master as https://gcc.gnu.org/g:3c3beb1a8137460bc485f9fbe3be8b21ee7f91a2 and to gcc 10 as https://gcc.gnu.org/g:910250c360291074d0908feb111403e6bb3b32ee . Thanks for the report!
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 --- Comment #9 from Thomas Koenig --- (In reply to Thomas Koenig from comment #8) > Comment on attachment 49548 [details] > bugtest.f -- program evincing bug > > So, commit the test case to guard against regressions > (since it is not immediately obvious if this is already > covered). > > I'll do so in a short while. Or as soon as bootstrap works again.
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #8 from Thomas Koenig --- Comment on attachment 49548 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49548 bugtest.f -- program evincing bug So, commit the test case to guard against regressions (since it is not immediately obvious if this is already covered). I'll do so in a short while.
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 George Hockney changed: What|Removed |Added Known to work||10.2.1 --- Comment #7 from George Hockney --- We have build 10.2.1 20201017 locally and bugtest.f passes. No warning messages valgrind says it's OK runs OK. We are in process of a major build testing a large-scale legacy software package, but it looks as if this regression is fixed.
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 --- Comment #6 from anlauf at gcc dot gnu.org --- I couldn't find any current 11-master, 10-, 9- and 8-branch version that fails on x86_64-pc-linux-gnu, under valgrind, and with -m32 and -m64. So it looks very likely that Dominique is right that this has been fixed everywhere. Otherwise please provide more details on your environment.
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 --- Comment #5 from Dominique d'Humieres --- > Did you happen to run valgrind using the 10.2.1 build? Unfortunately I don't have valgrind on my new laptop (OSX Catalina). However I have run the test 20 times with 10.2.1 without any failure, while I got 10 failures out of 10 runs on 10.2.0. Also I get the warning with 10.2 but not with any other release I have tried (including an instrumented compiler). I have tried another laptop with valgrind and did not see any problem, but I don't have 10.2.0 on it. So it seems you stumbled on a 10 regression that have been fixed.
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 Ted Drain changed: What|Removed |Added CC||ted.drain at jpl dot nasa.gov --- Comment #4 from Ted Drain --- Dominique, Did you happen to run valgrind using the 10.2.1 build? This error doesn't always cause a core dump - sometimes it appears to work. Valgrind reports the error even if the program seems to run. Thanks, Ted
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed||2020-11-11 Priority|P3 |P4 --- Comment #3 from Dominique d'Humieres --- I confirm the problem for GCC 10.2, but it seems fixed for 10.2.1 20201017, and 11.
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 George Hockney changed: What|Removed |Added Known to work||9.2.0 Known to fail||10.2.0 --- Comment #2 from George Hockney --- Added details.txt attachment and updated Known to work and Known to fail fields
[Bug fortran/97799] Passing CHARACTER*(*) var(*) through ENTRY causes segfaults
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97799 --- Comment #1 from George Hockney --- Created attachment 49549 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49549=edit details.txt -- detailed invocation and outputs