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

--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 63692
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63692&action=edit
virtual_machine.cpp.ii.xz

```
$ /usr/bin/c++ -DHAVE_HWCAP  -O2 -ggdb3 -march=armv8-a+crypto -O3 -DNDEBUG
-std=gnu++11 -fPIC -o virtual_machine.cpp.o -c
/tmp/RandomX/src/virtual_machine.cpp -save-temps
<built-in>: error: type variant differs by TYPE_MODE
 <array_type 0xffff7ac65e70
    type <integer_type 0xffff7e0237e0 long unsigned int asm_written public
unsigned type_6 DI
        size <integer_cst 0xffff7e01a288 constant 64>
        unit-size <integer_cst 0xffff7e01a2a0 constant 8>
        align:64 warn_if_not_align:0 symtab:2097419040 alias-set -1
canonical-type 0xffff7e0237e0 precision:64 min <integer_cst 0xffff7e01a558 0>
max <integer_cst 0xffff7e003800 18446744073709551615>
        pointer_to_this <pointer_type 0xffff7e035738> reference_to_this
<reference_type 0xffff7bdab3f0>>
    asm_written type_6 V8DI
    size <integer_cst 0xffff7e1871b0 type <integer_type 0xffff7e0230a8
bitsizetype> constant 512>
    unit-size <integer_cst 0xffff7e1871f8 type <integer_type 0xffff7e023000
sizetype> constant 64>
    align:64 warn_if_not_align:0 symtab:2034227712 alias-set -1 canonical-type
0xffff7ac65e70
    domain <integer_type 0xffff7d1040a8
        type <integer_type 0xffff7e023000 sizetype public unsigned type_6 DI
size <integer_cst 0xffff7e01a288 64> unit-size <integer_cst 0xffff7e01a2a0 8>
            align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0xffff7e023000 precision:64 min <integer_cst 0xffff7e01a2b8 0> max <integer_cst
0xffff7e0037a0 18446744073709551615>>
        type_6 DI size <integer_cst 0xffff7e01a288 64> unit-size <integer_cst
0xffff7e01a2a0 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0xffff7d1040a8 precision:64 min <integer_cst 0xffff7e01a2b8 0> max <integer_cst
0xffff7d0f7fa8 7>>>
 <array_type 0xffff7acd0930
    type <integer_type 0xffff7b1d6498 uint64_t public unsigned type_6 DI
        size <integer_cst 0xffff7e01a288 constant 64>
        unit-size <integer_cst 0xffff7e01a2a0 constant 8>
        align:64 warn_if_not_align:0 symtab:2065249216 alias-set -1
canonical-type 0xffff7e0237e0 precision:64 min <integer_cst 0xffff7e01a558 0>
max <integer_cst 0xffff7e003800 18446744073709551615>
        pointer_to_this <pointer_type 0xffff7ac4c348>>
    asm_written type_6 BLK
    size <integer_cst 0xffff7e1871b0 type <integer_type 0xffff7e0230a8
bitsizetype> constant 512>
    unit-size <integer_cst 0xffff7e1871f8 type <integer_type 0xffff7e023000
sizetype> constant 64>
    align:64 warn_if_not_align:0 symtab:2060265664 alias-set -1 canonical-type
0xffff7ac65e70
    domain <integer_type 0xffff7d1040a8
        type <integer_type 0xffff7e023000 sizetype public unsigned type_6 DI
size <integer_cst 0xffff7e01a288 64> unit-size <integer_cst 0xffff7e01a2a0 8>
            align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0xffff7e023000 precision:64 min <integer_cst 0xffff7e01a2b8 0> max <integer_cst
0xffff7e0037a0 18446744073709551615>>
        type_6 DI size <integer_cst 0xffff7e01a288 64> unit-size <integer_cst
0xffff7e01a2a0 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0xffff7d1040a8 precision:64 min <integer_cst 0xffff7e01a2b8 0> max <integer_cst
0xffff7d0f7fa8 7>>>
<built-in>: internal compiler error: ‘verify_type’ failed
0xaaaae1f72c23 internal_error(char const*, ...)
        ???:0
0xaaaae215fc2f verify_type(tree_node const*)
        ???:0
0xaaaae21927ef rest_of_type_compilation(tree_node*, int)
        ???:0
0xaaaae39af70b note_debug_info_needed(tree_node*)
        ???:0
0xaaaae22ce923 c_parse_final_cleanups()
        ???:0
0xaaaae36cf243 c_common_parse_file()
        ???:0
/usr/libexec/gcc/aarch64-unknown-linux-gnu/16/cc1plus -fpreprocessed
virtual_machine.cpp.ii -quiet -dumpbase virtual_machine.cpp.cpp -dumpbase-ext
.cpp -march=armv8-a+crypto -mlittle-endian -mabi=lp64 -ggdb3 -O2 -O3
-std=gnu++11 -fPIC -foffload-options=-fno-stack-protector -o
virtual_machine.cpp.s
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
```

Reply via email to