public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/48952] New: ICE in inline_merge_summary during linux kernel LTO build
@ 2011-05-10 16:30 andi-gcc at firstfloor dot org
  2011-05-10 16:53 ` [Bug lto/48952] " andi-gcc at firstfloor dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: andi-gcc at firstfloor dot org @ 2011-05-10 16:30 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in inline_merge_summary during linux kernel LTO
                    build
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: andi-gcc@firstfloor.org


When running a Linux kernel LTO build with recent mainline
(gcc version 4.7.0 20110510 (experimental) (GCC))
I get a segfault during the final lto-wpa phase

In gdb I get

Program received signal SIGSEGV, Segmentation fault.
inline_merge_summary (edge=0x7f1ce05d90d0)
    at ../../gcc/gcc/ipa-inline-analysis.c:2025
2025          && ipa_get_cs_argument_count (IPA_EDGE_REF (edge
(gdb) bt
#0  inline_merge_summary (edge=0x7f1ce05d90d0)
    at ../../gcc/gcc/ipa-inline-analysis.c:2025
#1  0x000000000085b079 in inline_call (e=0x7f1ce05d90d0,
update_original=Unhandled dwarf expression opcode 0xf3
)
    at ../../gcc/gcc/ipa-inline-transform.c:185
#2  0x0000000000854561 in inline_small_functions ()
    at ../../gcc/gcc/ipa-inline.c:1451
#3  ipa_inline () at ../../gcc/gcc/ipa-inline.c:1643
#4  0x000000000063c509 in execute_one_pass (pass=0xfff720)
    at ../../gcc/gcc/passes.c:1556
#5  0x000000000063cbca in execute_ipa_pass_list (pass=0xfff720)
    at ../../gcc/gcc/passes.c:1922
#6  0x000000000049ffe5 in do_whole_program_analysis ()
    at ../../gcc/gcc/lto/lto.c:2517
#7  lto_main () at ../../gcc/gcc/lto/lto.c:2629
#8  0x00000000006ccc4a in compile_file (argc=76, argv=0x12c8470)
    at ../../gcc/gcc/toplev.c:570
#9  do_compile (argc=76, argv=0x12c8470) at ../../gcc/gcc/toplev.c:1928
#10 toplev_main (argc=76, argv=0x12c8470) at ../../gcc/gcc/toplev.c:2000
#11 0x0000003bc6e1ee5d in __libc_start_main (main=0x4a29e0 <main>, argc=16, 
    ubp_av=0x7fff62bc8e28, init=<value optimized out>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff62bc8e18) at libc-start.c:226
#12 0x0000000000486f99 in _start ()
(gdb) 


The input files are very large. I can supply them on demand.
They also require special binutils currently (HJ's latest version)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-04 17:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-10 16:30 [Bug lto/48952] New: ICE in inline_merge_summary during linux kernel LTO build andi-gcc at firstfloor dot org
2011-05-10 16:53 ` [Bug lto/48952] " andi-gcc at firstfloor dot org
2011-05-10 21:14 ` andi-gcc at firstfloor dot org
2011-05-12 12:10 ` hubicka at gcc dot gnu.org
2011-06-04 17:15 ` hubicka at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).