[Bug fortran/54107] [4.8 Regression] [F03] Memory hog with abstract interface
bernd.edlinger at hotmail dot de
gcc-bugzilla@gcc.gnu.org
Wed Apr 16 08:37:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54107
Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernd.edlinger at hotmail dot de
--- Comment #38 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Hmm...
the whole thing goes kaboom if I try to call any of the procedures in
recursive_interface_2.f90.
i.e. if I add the following at the end of the test case:
use m
procedure(foo), pointer :: p_foo
procedure(bar), pointer :: p_bar
procedure(baz), pointer :: p_baz
p_foo => foo
p_bar => bar
p_baz => baz
call foo (p_foo)
call baz (p_bar)
call bar (p_baz)
call p_foo (p_foo)
call p_baz (p_bar)
call p_bar (p_baz)
end
gfortran recursive_interface_2.f90
gfortran: internal compiler error: Segmentation fault (program f951)
0x40c914 execute
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:2848
0x40ccc4 do_spec_1
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:4652
0x40f586 process_brace_body
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5935
0x40f586 handle_braces
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5849
0x40db39 do_spec_1
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5306
0x40f586 process_brace_body
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5935
0x40f586 handle_braces
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5849
0x40db39 do_spec_1
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5306
0x40d8a3 do_spec_1
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5421
0x40f586 process_brace_body
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5935
0x40f586 handle_braces
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5849
0x40db39 do_spec_1
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5306
0x40f586 process_brace_body
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5935
0x40f586 handle_braces
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5849
0x40db39 do_spec_1
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:5306
0x40e656 do_spec_2
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:4353
0x40fc68 do_spec(char const*)
../../gcc-4.9.0-RC-20140411/gcc/gcc.c:4320
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list