public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/114918] New: ICE when building gcl with LTO
@ 2024-05-02 7:26 sjames at gcc dot gnu.org
2024-05-02 7:27 ` [Bug lto/114918] " sjames at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-05-02 7:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114918
Bug ID: 114918
Summary: ICE when building gcl with LTO
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: ice-checking
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
Target Milestone: ---
Originally reported downstream in Gentoo at https://bugs.gentoo.org/931082 by
Agostino Sarubbo. We also had a rep
```
$ gcc -c ./block.i -flto
block.c:123:1: error: type variant has different ‘TREE_TYPE’
123 | }
| ^
<function_type 0x7f1051642dc8
type <pointer_type 0x7f105165ce70 object
type <union_type 0x7f105165c930 lispunion VOID
align:8 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7f1051e3b540
pointer_to_this <pointer_type 0x7f105165cbd0>>
unsigned DI
size <integer_cst 0x7f1051e02f48 constant 64>
unit-size <integer_cst 0x7f1051e02f60 constant 8>
align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f1051e3b5e8
pointer_to_this <pointer_type 0x7f10516711f8>>
QI
size <integer_cst 0x7f1051e25048 type <integer_type 0x7f1051e230a8
bitsizetype> constant 8>
unit-size <integer_cst 0x7f1051e25060 type <integer_type 0x7f1051e23000
sizetype> constant 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f1051642e70
arg-types <tree_list 0x7f1051c0c758 value <pointer_type 0x7f105165ce70
object>
chain <tree_list 0x7f1051c0c730 value <pointer_type 0x7f105165ce70
object>
chain <tree_list 0x7f1051c0c708 value <pointer_type 0x7f105165ce70
object>
chain <tree_list 0x7f1051c0c6e0 value <pointer_type
0x7f105165ce70 object>
chain <tree_list 0x7f1051c0c6b8 value <integer_type
0x7f1051e3b0a8 ufixnum>>>>>>
pointer_to_this <pointer_type 0x7f1051656888>>
block.c:123:1: error: type variant’s ‘TREE_TYPE’
<pointer_type 0x7f105165ce70 object
type <union_type 0x7f105165c930 lispunion VOID
align:8 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7f1051e3b540
pointer_to_this <pointer_type 0x7f105165cbd0>>
unsigned DI
size <integer_cst 0x7f1051e02f48 type <integer_type 0x7f1051e230a8
bitsizetype> constant 64>
unit-size <integer_cst 0x7f1051e02f60 type <integer_type 0x7f1051e23000
sizetype> constant 8>
align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f1051e3b5e8
pointer_to_this <pointer_type 0x7f10516711f8>>
block.c:123:1: error: type’s ‘TREE_TYPE’
<pointer_type 0x7f1051100540 object
type <union_type 0x7f105165c930 lispunion VOID
align:8 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7f1051e3b540
pointer_to_this <pointer_type 0x7f105165cbd0>>
unsigned DI
size <integer_cst 0x7f1051e02f48 type <integer_type 0x7f1051e230a8
bitsizetype> constant 64>
unit-size <integer_cst 0x7f1051e02f60 type <integer_type 0x7f1051e23000
sizetype> constant 8>
align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f1051e3b5e8>
<function_type 0x7f1051363a80
type <pointer_type 0x7f1051100540 object
type <union_type 0x7f105165c930 lispunion VOID
align:8 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7f1051e3b540
pointer_to_this <pointer_type 0x7f105165cbd0>>
unsigned DI
size <integer_cst 0x7f1051e02f48 constant 64>
unit-size <integer_cst 0x7f1051e02f60 constant 8>
align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f1051e3b5e8>
volatile QI
size <integer_cst 0x7f1051e25048 type <integer_type 0x7f1051e230a8
bitsizetype> constant 8>
unit-size <integer_cst 0x7f1051e25060 type <integer_type 0x7f1051e23000
sizetype> constant 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f1051363b28
arg-types <tree_list 0x7f1051c0c758
value <pointer_type 0x7f105165ce70 object type <union_type
0x7f105165c930 lispunion>
unsigned DI size <integer_cst 0x7f1051e02f48 64> unit-size
<integer_cst 0x7f1051e02f60 8>
align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f1051e3b5e8
pointer_to_this <pointer_type 0x7f10516711f8>>
chain <tree_list 0x7f1051c0c730 value <pointer_type 0x7f105165ce70
object>
chain <tree_list 0x7f1051c0c708 value <pointer_type 0x7f105165ce70
object>
chain <tree_list 0x7f1051c0c6e0 value <pointer_type
0x7f105165ce70 object>
chain <tree_list 0x7f1051c0c6b8 value <integer_type
0x7f1051e3b0a8 ufixnum>>>>>>
pointer_to_this <pointer_type 0x7f1051363bd0>>
during IPA pass: *free_lang_data
block.c:123:1: internal compiler error: ‘verify_type’ failed
0x55c100d66912 verify_type(tree_node const*)
/usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/tree.cc:14395
0x55c102ce246b free_lang_data
/usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/ipa-free-lang-data.cc:1134
0x55c102ce246b execute
/usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/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://bugs.gentoo.org/> for instructions.
```
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-05-02 11:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02 7:26 [Bug lto/114918] New: ICE when building gcl with LTO sjames at gcc dot gnu.org
2024-05-02 7:27 ` [Bug lto/114918] " sjames at gcc dot gnu.org
2024-05-02 7:27 ` sjames at gcc dot gnu.org
2024-05-02 7:56 ` sjames at gcc dot gnu.org
2024-05-02 8:41 ` sjames at gcc dot gnu.org
2024-05-02 11:33 ` rguenth 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).