https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123319
Bug ID: 123319
Summary: [16 Regression] ICE at -O2/O3 during IPA pass: cp
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: xxs_chy at outlook dot com
Target Milestone: ---
Created attachment 63166
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63166&action=edit
test.c
Reproducer: https://godbolt.org/z/Te3xvr8da
Command:
> gcc -O3 test.c
Dump:
during IPA pass: cp
<source>:86:1: internal compiler error: in meet_with_1, at ipa-cp.cc:843
86 | }
| ^
0x25b98a8 diagnostics::context::diagnostic_impl(rich_location*,
diagnostics::metadata const*, diagnostics::option_id, char const*,
__va_list_tag (*) [1], diagnostics::kind)
???:0
0x25ae66b internal_error(char const*, ...)
???:0
0xa1a806 fancy_abort(char const*, int, char const*)
???: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