[Bug rtl-optimization/123267] [16 Regression] ICE building libstdc++-v3/src/c++20/tzdb.cc
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 22 22:06:50 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123267
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 63125
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63125&action=edit
testcase
/home/apinski/src/upstream-gcc-git/gcc/objdir/./gcc/xgcc
-B/home/apinski/src/upstream-gcc-git/gcc/objdir/./gcc tzdb.ii -O2 -fPIC -S
during RTL pass: ce1
/home/apinski/src/upstream-gcc-git/gcc/libstdc++-v3/src/c++20/tzdb.cc: In
member function ‘std::chrono::sys_seconds
std::chrono::{anonymous}::Rule::start_time(std::chrono::year,
std::chrono::seconds) const’:
/home/apinski/src/upstream-gcc-git/gcc/libstdc++-v3/src/c++20/tzdb.cc:610:7:
internal compiler error: in maybe_legitimize_operand, at optabs.cc:8248
610 | }
| ^
0x3bc2f62 internal_error(char const*, ...)
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-context.cc:787
0x3bd177d fancy_abort(char const*, int, char const*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostics/context.cc:1805
0x1c4bef6 maybe_legitimize_operand
/home/apinski/src/upstream-gcc-git/gcc/gcc/optabs.cc:8248
0x1c4c7ee maybe_legitimize_operands(insn_code, unsigned int, unsigned int,
expand_operand*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/optabs.cc:8396
0x1c4c899 maybe_gen_insn(insn_code, unsigned int, expand_operand*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/optabs.cc:8415
0x1c4ce8c maybe_expand_insn(insn_code, unsigned int, expand_operand*)
/home/apinski/src/upstream-gcc-git/gcc/gcc/optabs.cc:8470
0x1c44427 emit_conditional_move_1
/home/apinski/src/upstream-gcc-git/gcc/gcc/optabs.cc:5403
0x1c44157 emit_conditional_move(rtx_def*, rtx_comparison, rtx_def*, rtx_def*,
machine_mode, int)
/home/apinski/src/upstream-gcc-git/gcc/gcc/optabs.cc:5316
0x395246a noce_emit_cmove
/home/apinski/src/upstream-gcc-git/gcc/gcc/ifcvt.cc:1982
0x39557a6 noce_try_cond_zero_arith
/home/apinski/src/upstream-gcc-git/gcc/gcc/ifcvt.cc:3194
0x395813c noce_process_if_block
/home/apinski/src/upstream-gcc-git/gcc/gcc/ifcvt.cc:4401
0x395951e noce_find_if_block
/home/apinski/src/upstream-gcc-git/gcc/gcc/ifcvt.cc:4875
0x3959bbf find_if_header
/home/apinski/src/upstream-gcc-git/gcc/gcc/ifcvt.cc:5080
0x395c523 if_convert
/home/apinski/src/upstream-gcc-git/gcc/gcc/ifcvt.cc:6227
0x395c71b rest_of_handle_if_conversion
/home/apinski/src/upstream-gcc-git/gcc/gcc/ifcvt.cc:6292
0x395c7b8 execute
/home/apinski/src/upstream-gcc-git/gcc/gcc/ifcvt.cc:6331
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.
More information about the Gcc-bugs
mailing list