[Bug fortran/65086] Segfault: Invalid copy-out of temporary as argument is in read-only memory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65086 Jürgen Reuter changed: What|Removed |Added CC||juergen.reuter at desy dot de --- Comment #2 from Jürgen Reuter --- I rechecked this. Same situation still with gfortran 9.0. Also ran nagfor. nagfor behaves the same way as gfortran does, so the seg fault is only gone if the intent(in) in sub4 is added.
[Bug fortran/65086] Segfault: Invalid copy-out of temporary as argument is in read-only memory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65086 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2015-09-08 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (6.0).