[Bug target/123784] [14/15/16 Regression] during RTL pass: early_ra ICE: in operator[], at vec.h:2475 with -O2 -fno-tree-dse -fno-tree-dce -mbig-endian -g

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 23 22:49:17 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123784

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2026-01-23

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(gdb) p debug_rtx(ref.base.reg)
(subreg:OI (reg:V16QI 110 [ _16 ]) 0)


Oh yes for debug_insns all subregs are valid.

get_allocno_subgroup needs a argument saying if this is under a debug_insns or
not. If it is just do the subreg always and ignore the validity of it.

I fixed a similar issue in LRA recently with r16-6425-gc93e74a838c939 .


More information about the Gcc-bugs mailing list