[Bug fortran/99549] Segfault when scalar argument of elemental function is both derived type with allocatable component and a function result
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 11 12:18:37 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99549
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-03-11
Known to fail| |10.2.1, 7.5.0
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Keywords| |wrong-code
Known to work| |11.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000401097 in m::add_t (lhs=..., rhs=...) at t.f90:21
21 output%contents = lhs%contents+rhs%contents
it seems to work fine with GCC 11 though.
More information about the Gcc-bugs
mailing list