[Bug lto/98540] New: [11 Regression] ICE: error: type variant with 'TYPE_ALIAS_SET_KNOWN_P'

doko at debian dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 5 16:11:45 GMT 2021


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

            Bug ID: 98540
           Summary: [11 Regression] ICE: error: type variant with
                    'TYPE_ALIAS_SET_KNOWN_P'
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 49892
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49892&action=edit
preprocessed source

seen with trunk 20210102, works without -flto (although the file takes 8min to
build). compiler configure with --enable-checking=yes,rtl,extra

$ g++ -c -g -O3 -fstack-protector-strong -fopenmp -flto -mmmx -msse -msse2
-msse3 -mssse3 -msse4 -mpopcnt -Wall -Wno-unused-result -Wno-date-time
lambda.cpp.ii 
/packages/tmp/lambda-align2-2.0.0/src/lambda.cpp:100:1: error: type variant
with 'TYPE_ALIAS_SET_KNOWN_P'
  100 | }
      | ^
 <vector_type 0x7f851c044a80
    type <integer_type 0x7f851bf0e498 short int sizes-gimplified asm_written
public type_6 HI
        size <integer_cst 0x7f851bf11078 constant 16>
        unit-size <integer_cst 0x7f851bf11090 constant 2>
        align:16 warn_if_not_align:0 symtab:464622208 alias-set 22
canonical-type 0x7f851bf0e498 precision:16 min <integer_cst 0x7f851bf11018
-32768> max <integer_cst 0x7f851bf11048 32767>
        pointer_to_this <pointer_type 0x7f8514048540> reference_to_this
<reference_type 0x7f851aafed20>>
    sizes-gimplified asm_written type_6 V8HI
    size <integer_cst 0x7f851beeff00 type <integer_type 0x7f851bf0e0a8
bitsizetype> constant 128>
    unit-size <integer_cst 0x7f851beeff18 type <integer_type 0x7f851bf0e000
sizetype> constant 16>
    align:128 warn_if_not_align:0 symtab:293846784 alias-set 22 canonical-type
0x7f851c044a80 nunits:8
    pointer_to_this <pointer_type 0x7f850e9d3348> reference_to_this
<reference_type 0x7f8512bfa5e8>>
 <vector_type 0x7f84e8e561f8
    type <integer_type 0x7f851bf0e498 short int sizes-gimplified asm_written
public type_6 HI
        size <integer_cst 0x7f851bf11078 constant 16>
        unit-size <integer_cst 0x7f851bf11090 constant 2>
        align:16 warn_if_not_align:0 symtab:464622208 alias-set 22
canonical-type 0x7f851bf0e498 precision:16 min <integer_cst 0x7f851bf11018
-32768> max <integer_cst 0x7f851bf11048 32767>
        pointer_to_this <pointer_type 0x7f8514048540> reference_to_this
<reference_type 0x7f851aafed20>>
    sizes-gimplified type_6 V8HI
    size <integer_cst 0x7f851beeff00 type <integer_type 0x7f851bf0e0a8
bitsizetype> constant 128>
    unit-size <integer_cst 0x7f851beeff18 type <integer_type 0x7f851bf0e000
sizetype> constant 16>
    align:128 warn_if_not_align:0 symtab:0 alias-set 22 canonical-type
0x7f851c044a80 nunits:8>
during IPA pass: *free_lang_data
/packages/tmp/lambda-align2-2.0.0/src/lambda.cpp:100:1: internal compiler
error: 'verify_type' failed
0x626011 verify_type(tree_node const*)
        ../../src/gcc/tree.c:14906
0x62a3d3 free_lang_data
        ../../src/gcc/tree.c:6436
0x62a3d3 execute
        ../../src/gcc/tree.c:6481
Please submit a full bug report,
with preprocessed source if appropriate.


More information about the Gcc-bugs mailing list