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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:492fbdbf99dc9d8c4f13d8afe654f36d47811a2f

commit r17-4215-g492fbdbf99dc9d8c4f13d8afe654f36d47811a2f
Author: Richard Biener <[email protected]>
Date:   Mon Sep 14 11:08:37 2026 +0200

    tree-optimization/127377 - wrong pruning of non-constant partial defs

    The following fixes the failure to adjust for sub-byte padding of
    the partial definition before the object when pruning the size
    to sub-byte padding after the object.

            PR tree-optimization/127377
            * tree-ssa-sccvn.cc (vn_walk_cb_data::push_partial_def):
            Properly consider the padding before the object when
            pruning the size.

            * gcc.dg/torture/pr127377.c: New testcase.

Reply via email to