[Bug fortran/47240] [F03] segfault with procedure pointer component
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 13 06:25:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47240
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot
| |gnu.org
--- Comment #13 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-01-13 05:28:03 UTC ---
Confirmed at 168737
$ gfc -c -O2 red.f90
red.f90: In function ‘gp’:
red.f90:67:0: error: non-trivial conversion at assignment
void (*<T64>) (void)
void (*<T496>) (struct array1_unknown &, integer(kind=4), struct
array1_integer(kind=4) & restrict)
__result_gp_72 = make_mess;
red.f90:67:0: internal compiler error: verify_stmts failed
Looks like an optimization bug.
More information about the Gcc-bugs
mailing list