[Bug middle-end/48704] ICE: gfortran dies when '-finstrument-functions' option is used

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 20 15:19:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48704

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org
          Component|fortran                     |middle-end

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-04-20 15:18:59 UTC ---
With 4.7, I get the following; I have not yet analyzed the failure, but the
valgrind output indicates that the segfault happens deep in the middle end:

 Invalid read of size 2
    at 0x68DD55: gimple_build_call (gimple.c:267)
    by 0x69CB98: gimplify_function_tree (gimplify.c:7896)
    by 0x91708B: cgraph_analyze_function (cgraphunit.c:790)
    by 0x9188C9: cgraph_analyze_functions (cgraphunit.c:976)
    by 0x91931B: cgraph_finalize_compilation_unit (cgraphunit.c:1087)
    by 0x6D317E: write_global_declarations (langhooks.c:303)
    by 0x79376A: do_compile (toplev.c:591)
    by 0x793F24: toplev_main (toplev.c:1967)
    by 0x38FA81D993: (below main) (in /lib64/libc-2.5.so)



More information about the Gcc-bugs mailing list