https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83338

            Bug ID: 83338
           Summary: [8 Regression] SPEC CPU2017 510.parest_r ICE
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andrey.y.guskov at intel dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

r255021 triggers an ICE when 510 is compiled for x86_32 on Haswell:

lto1: internal compiler error: in lto_tag_to_tree_code, at lto-streamer.h:992
0x6feb65 lto_tag_to_tree_code
        /user/aguskov/scratch/aguskov/testing/510/source/gcc/lto-streamer.h:992
0x6feb65 streamer_alloc_tree(lto_input_block*, data_in*, LTO_tags)
       
/user/aguskov/scratch/aguskov/testing/510/source/gcc/tree-streamer-in.c:575
0xb5ee20 lto_read_tree
       
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto-streamer-in.c:1382
0xb5ee20 lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned int)
       
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto-streamer-in.c:1501
0x85730c lto_read_decls
        /user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:1782
0x85978b lto_file_finalize
        /user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:2046
0x85978b lto_create_files_from_ids
        /user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:2056
0x85978b lto_file_read
        /user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:2097
0x85978b read_cgraph_and_symbols
        /user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:2809
0x85978b lto_main()
        /user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:3314
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status


Option set:
-m32 -march=core-avx2 -mfpmath=sse -Ofast -fno-associative-math -funroll-loops
-flto -fpermissive

Reply via email to