]> git.ipfire.org Git - thirdparty/gcc.git/commit
simplify-rtx: Use byte in simplify_subreg rather than assume 0 offset
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 2 Mar 2023 14:11:59 +0000 (14:11 +0000)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 2 Mar 2023 14:11:59 +0000 (14:11 +0000)
commit61407e018940633a9ca997bf3773f794faa25e23
treef3cfddd13896a74f36e274e9399c8566f2c62060
parent62a8d31ecc07041af4a81353c2d57d9845c4b771
simplify-rtx: Use byte in simplify_subreg rather than assume 0 offset

This patch fixes a missed review comment in an earlier patch using byte instead
of a 0 offset.  Also improves the comment as suggested.

gcc/ChangeLog:

* simplify-rtx.cc (simplify_context::simplify_subreg): Use byte instead
of constant 0 offset.
gcc/simplify-rtx.cc