www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 34] New: ICE with -fdump-ipa-cgraph

http://gdcproject.org/bugzilla/show_bug.cgi?id=34

             Bug #: 34
           Summary: ICE with -fdump-ipa-cgraph
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: johannespfau gmail.com


Created attachment 23
  --> http://gdcproject.org/bugzilla/attachment.cgi?id=23
test case

Happens with gcc-4.7.2 and gcc-4.8-20121202

Compile the test case like this:
gdc algorithm2.d  -fdump-ipa-cgraph

bug/std/algorithm2.d:1: internal compiler error: in lhd_decl_printable_name, at
langhooks.c:222
0x86a9e4 lhd_decl_printable_name(tree_node*, int)
    ../../gcc-4.8-20121202/gcc/langhooks.c:222
0x6a10fe symtab_node_name
    ../../gcc-4.8-20121202/gcc/symtab.c:437
0x6a10fe dump_symtab_base(_IO_FILE*, symtab_node_def*)
    ../../gcc-4.8-20121202/gcc/symtab.c:454
0xb9bee0 dump_varpool_node(_IO_FILE*, varpool_node*)
    ../../gcc-4.8-20121202/gcc/varpool.c:77
0x6a196a dump_symtab(_IO_FILE*)
    ../../gcc-4.8-20121202/gcc/symtab.c:555
0x6ac6d2 cgraph_analyze_functions
    ../../gcc-4.8-20121202/gcc/cgraphunit.c:1008
0x6add90 finalize_compilation_unit()
    ../../gcc-4.8-20121202/gcc/cgraphunit.c:2111
0x5f91d4 d_write_global_declarations
    ../../gcc-4.8-20121202/gcc/d/d-lang.cc:641
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gdcproject.org/bugzilla> for instructions.

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.
Jan 01 2013