https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108640
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |marxin at gcc dot gnu.org Keywords|needs-reduction | Last reconfirmed| |2023-03-30 --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Reduced test-case: $ cat pr108640.i int option_mask32; enum { OPTBIT_F = 12, OPTBIT_R, OPTBIT_Z, OPTBIT_c, OPTBIT_t, OPT_t = 1 << OPTBIT_t } ls_main() { option_mask32 |= OPT_t; } $ ./xgcc -B. ~/Programming/testcases/pr108640.i -c -Os during RTL pass: final /home/marxin/Programming/testcases/pr108640.i: In function ‘ls_main’: /home/marxin/Programming/testcases/pr108640.i:12:1: internal compiler error: in change_address_1, at emit-rtl.cc:2287 12 | } | ^ 0xee4b72 change_address_1 /home/marxin/Programming/gcc/gcc/emit-rtl.cc:2287 0xee5684 adjust_address_1(rtx_def*, machine_mode, poly_int<1u, long>, int, int, int, poly_int<1u, long>) /home/marxin/Programming/gcc/gcc/emit-rtl.cc:2421 0x190e4e3 output_iorsi3(rtx_def**) /home/marxin/Programming/gcc/gcc/config/m68k/m68k.cc:5513 0x1fd17bd output_255 /home/marxin/Programming/gcc/gcc/config/m68k/m68k.md:3779 0xf64f4f get_insn_template(int, rtx_insn*) /home/marxin/Programming/gcc/gcc/final.cc:2029 0xf66b5e final_scan_insn_1 /home/marxin/Programming/gcc/gcc/final.cc:2774 0xf66fd2 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /home/marxin/Programming/gcc/gcc/final.cc:2887 0xf64d79 final_1 /home/marxin/Programming/gcc/gcc/final.cc:1979 0xf69bbc rest_of_handle_final /home/marxin/Programming/gcc/gcc/final.cc:4240 0xf69f1a execute /home/marxin/Programming/gcc/gcc/final.cc:4318 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.