https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127652
--- Comment #1 from Dimitar Dimitrov <dimitar at gcc dot gnu.org> ---
AVR is also affected. When the buffer sizes are lowered just a bit, it also
ICEs:
$ sed -i 's/16384/16000/g' g++.dg/opt/mem-notrap-load-builtin.C
$ avr-g++ g++.dg/opt/mem-notrap-load-builtin.C -o /tmp/x -mmcu=atxmega128d4
-O2 -fdelete-null-pointer-checks -fnon-call-exceptions
-finline-stringops=memcmp
g++.dg/opt/mem-notrap-load-builtin.C: In member function 'int blocks::compare()
const':
g++.dg/opt/mem-notrap-load-builtin.C:19:1: error: unrecognizable insn:
19 | }
| ^
(insn 19 16 20 5 (set (reg:QI 55)
(const_int 16000 [0x3e80]))
"g++.dg/opt/mem-notrap-load-builtin.C":18:27 -1
(nil))
during RTL pass: vregs
g++.dg/opt/mem-notrap-load-builtin.C:19:1: internal compiler error: in
extract_insn, at recog.cc:2882
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://bugzilla.redhat.com/> for instructions.