[Bug fortran/64230] [4.9/5 Regression] Segmentation fault - invalid memory reference in a compiler-generated finalizer for a complicated type hierarchy when a polymorphic variable is allocated in an external procedure.
Joost.VandeVondele at mat dot ethz.ch
gcc-bugzilla@gcc.gnu.org
Mon Dec 8 21:45:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64230
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-12-08
CC| |Joost.VandeVondele at mat dot ethz
| |.ch
Known to work| |4.8.3
Target Milestone|--- |4.9.3
Summary|Segmentation fault - |[4.9/5 Regression]
|invalid memory reference in |Segmentation fault -
|a compiler-generated |invalid memory reference in
|finalizer for a complicated |a compiler-generated
|type hierarchy when a |finalizer for a complicated
|polymorphic variable is |type hierarchy when a
|allocated in an external |polymorphic variable is
|procedure. |allocated in an external
| |procedure.
Ever confirmed|0 |1
Known to fail| |4.9.2, 5.0
--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
yes, confirmed, also with trunk (and -fsanitize=undefined)
> gfortran -g -fno-omit-frame-pointer -fsanitize=undefined t.f90 && ./a.out
t.f90:24: runtime error: member access within null pointer of type 'struct t6'
More information about the Gcc-bugs
mailing list