https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119205
Bug ID: 119205
Summary: internal compiler error: in tree_to_uhwi, at
tree.cc:6587
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: bic60176 at gmail dot com
Target Milestone: ---
Created attachment 60701
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60701&action=edit
testcase
Compiler Explorer: https://godbolt.org/z/7zfxd4xWM
Console:
<source>:9:46: internal compiler error: in tree_to_uhwi, at tree.cc:6587
9 | [size - 1] = 0,
| ^
0x25f8a85 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
???:0
0x260fa56 internal_error(char const*, ...)
???:0
0x9eaa94 fancy_abort(char const*, int, char const*)
???:0
0xa5af8b process_init_element(unsigned long, c_expr, bool, obstack*)
???:0
0xab29ee c_parse_file()
???:0
0xb31669 c_common_parse_file()
???:0
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.
Compiler returned: 1