]> git.ipfire.org Git - thirdparty/gcc.git/commit
ext-dce: Fix subreg_lsb is_constant assumption (2)
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 21 Jul 2025 14:41:01 +0000 (15:41 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 21 Jul 2025 14:41:01 +0000 (15:41 +0100)
commit0b6038c17cabdbc8b9bfd0d13e2dd6f74db78734
treed3c0d08d5d00411fb6a5d968ac91634bf87c762a
parentd88c1b70a51513d11da7aca71a5d19363b5342a2
ext-dce: Fix subreg_lsb is_constant assumption (2)

This patch fixes another instance of the problem described in the
cover note for g:bf3037e923e9f91d93ab64bdf73a37f64f659fb9.

gcc/
* ext-dce.cc (ext_dce_process_uses): Apply is_constant directly
to the subreg_lsb.

(cherry picked from commit bddc41e290113dd9160b01f2fdf925a1876c8ee0)
gcc/ext-dce.cc