[Bug fortran/49648] ICE(segfault) with MATHMUL and function-result actual argument
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 5 22:52:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49648
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-05 22:52:01 UTC ---
(In reply to comment #4)
> Draft patch, which should also save some memory, .mod file-size and should
> slightly speed the program.
The patch fails for procedure pointers - as the function->attr.proc_pointer ==
0 and only function->result->attr.proc_pointer != 0, cf.
add_hidden_procptr_result. For instance: gfortran.dg/proc_ptr_result_1.f90 and
gfortran.dg/proc_ptr_result_3.f90.
More information about the Gcc-bugs
mailing list