public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/112732] New: during IPA pass: *free_lang_data ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -Os -Wstrict-aliasing=2 -flto
@ 2023-11-27 19:05 zsojka at seznam dot cz
  2023-11-28 11:25 ` [Bug lto/112732] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2023-11-27 19:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112732
           Summary: during IPA pass: *free_lang_data ICE: 'verify_type'
                    failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P'
                    with -Os -Wstrict-aliasing=2 -flto
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu

Created attachment 56702
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56702&action=edit
reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -Os -Wstrict-aliasing=2 -flto testcase.c 
testcase.c:11:1: error: type variant with 'TYPE_ALIAS_SET_KNOWN_P'
   11 | }
      | ^
 <vector_type 0x7f152f4a9540
    type <integer_type 0x7f152f31b9d8 __int128 public TI
        size <integer_cst 0x7f152f2fbf90 constant 128>
        unit-size <integer_cst 0x7f152f2fbfa8 constant 16>
        align:128 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7f152f31b9d8 precision:128 min <integer_cst 0x7f152f2fc680
-170141183460469231731687303715884105728> max <integer_cst 0x7f152f2fc6a0
170141183460469231731687303715884105727>>
    BLK
    size <integer_cst 0x7f152f31d2b8 type <integer_type 0x7f152f31b0a8
bitsizetype> constant 256>
    unit-size <integer_cst 0x7f152f31d3a8 type <integer_type 0x7f152f31b000
sizetype> constant 32>
    align:256 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7f152f4a9540 nunits:2
    pointer_to_this <pointer_type 0x7f152f4d2000>>
 <vector_type 0x7f152f4d2150
    type <integer_type 0x7f152f31b9d8 __int128 public TI
        size <integer_cst 0x7f152f2fbf90 constant 128>
        unit-size <integer_cst 0x7f152f2fbfa8 constant 16>
        align:128 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7f152f31b9d8 precision:128 min <integer_cst 0x7f152f2fc680
-170141183460469231731687303715884105728> max <integer_cst 0x7f152f2fc6a0
170141183460469231731687303715884105727>>
    BLK
    size <integer_cst 0x7f152f31d2b8 type <integer_type 0x7f152f31b0a8
bitsizetype> constant 256>
    unit-size <integer_cst 0x7f152f31d3a8 type <integer_type 0x7f152f31b000
sizetype> constant 32>
    align:256 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7f152f4a9540 nunits:2>
during IPA pass: *free_lang_data
testcase.c:11:1: internal compiler error: 'verify_type' failed
0x180729e verify_type(tree_node const*)
        /repo/gcc-trunk/gcc/tree.cc:14384
0x25dd002 free_lang_data
        /repo/gcc-trunk/gcc/ipa-free-lang-data.cc:1134
0x25dd002 execute
        /repo/gcc-trunk/gcc/ipa-free-lang-data.cc:1176
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r14-5872-20231127103959-gd9abaa8d58f-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r14-5872-20231127103959-gd9abaa8d58f-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20231127 (experimental) (GCC)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-08 12:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 19:05 [Bug lto/112732] New: during IPA pass: *free_lang_data ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -Os -Wstrict-aliasing=2 -flto zsojka at seznam dot cz
2023-11-28 11:25 ` [Bug lto/112732] " rguenth at gcc dot gnu.org
2023-11-28 11:35 ` rguenth at gcc dot gnu.org
2023-11-28 15:58 ` cvs-commit at gcc dot gnu.org
2023-11-28 15:59 ` rguenth at gcc dot gnu.org
2024-05-08 12:45 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).