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 lto/54898] New: [4.8 regression] ICE in uniquify_nodes, at lto/lto.c:1898


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

             Bug #: 54898
           Summary: [4.8 regression] ICE in uniquify_nodes, at
                    lto/lto.c:1898
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dimhen@gmail.com


Created attachment 28421
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28421
1.c

gcc version 4.8.0 20121011 (experimental) [trunk revision 192347] (GCC)

$ gcc -fpreprocessed -c -flto 1.c -o 1.o
$ g++ -fpreprocessed -c -flto 2.cpp -o 2.o
$ g++ -O1 -flto -o f 1.o 2.o
lto1: internal compiler error: in uniquify_nodes, at lto/lto.c:1898
0x4d031e uniquify_nodes
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:1898
0x4d28e9 lto_read_decls
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:2081
0x4d28e9 lto_file_finalize
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:2334
0x4d28e9 lto_create_files_from_ids
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:2344
0x4d28e9 lto_file_read
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:2384
0x4d28e9 read_cgraph_and_symbols
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:2953
0x4d28e9 lto_main()
    /home/dimhen/src/gcc-current/gcc/lto/lto.c:3360
Please submit a full bug report,

err arose with 1.c about 500Kb long and 2.cpp about 1.5Mb long
i can attach original files

after creduce'ing they become 9Kb and 12Kb but compiles with numerous warnings


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