This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48330] [4.7 Regression] ICE: in optimize_inline_calls, at tree-inline.c:4201 with -fmudflap -fno-early-inlining


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

--- Comment #1 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-03-29 12:54:50 UTC ---
It's mudflap adding call graph nodes from outside the pass manager
again:

(gdb) bt
#0  fancy_abort (file=0x89fd0b8 "/home/mjambor/gcc/icln/src/gcc/tree-inline.c",
line=4201, 
    function=0x89fe0a3 "optimize_inline_calls") at
/home/mjambor/gcc/icln/src/gcc/diagnostic.c:893
#1  0x086c4642 in optimize_inline_calls (fn=0xb7649100)
    at /home/mjambor/gcc/icln/src/gcc/tree-inline.c:4201
#2  0x08699622 in cgraph_early_inlining () at
/home/mjambor/gcc/icln/src/gcc/ipa-inline.c:1757
#3  0x083b43f9 in execute_one_pass (pass=0x8b1f300) at
/home/mjambor/gcc/icln/src/gcc/passes.c:1555
#4  0x083b46ad in execute_pass_list (pass=0x8b1f300)
    at /home/mjambor/gcc/icln/src/gcc/passes.c:1610
#5  0x084be2f5 in tree_lowering_passes (fn=0xb7649100)
    at /home/mjambor/gcc/icln/src/gcc/tree-optimize.c:375
#6  0x08688514 in cgraph_lower_function (node=0xb75c63fc)
    at /home/mjambor/gcc/icln/src/gcc/cgraphunit.c:334
#7  0x0868a6c4 in cgraph_analyze_function (node=0xb75c63fc)
    at /home/mjambor/gcc/icln/src/gcc/cgraphunit.c:799
#8  0x086854f7 in cgraph_add_new_function (fndecl=0xb7649100, lowered=0 '\000')
    at /home/mjambor/gcc/icln/src/gcc/cgraph.c:2501
#9  0x086ad21e in cgraph_build_static_cdtor_1 (which=73 'I', body=0xb762d4b0,
priority=99, 
    final=0 '\000') at /home/mjambor/gcc/icln/src/gcc/ipa.c:1593
#10 0x08119465 in mudflap_finish_file () at
/home/mjambor/gcc/icln/src/gcc/tree-mudflap.c:1366
#11 0x0845c559 in compile_file () at
/home/mjambor/gcc/icln/src/gcc/toplev.c:601
#12 do_compile () at /home/mjambor/gcc/icln/src/gcc/toplev.c:1900
#13 toplev_main (argc=20, argv=0xbfffef34) at
/home/mjambor/gcc/icln/src/gcc/toplev.c:1963
#14 0x0816cedb in main (argc=20, argv=0xbfffef34) at
/home/mjambor/gcc/icln/src/gcc/main.c:36


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]