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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Already reproduces with plain -O1.

Value numbering stmt = _1 = BIT_FIELD_REF <Local_R1, 8, 56>;
Successfully combined 2 partial definitions
Setting value number of _1 to 0 (changed)
Replaced BIT_FIELD_REF <Local_R1, 8, 56> with 0 in all uses of _1 =
BIT_FIELD_REF <Local_R1, 8, 56>;

Jakub just pushed a fix here (PR97764), which fixes this issue.

*** This bug has been marked as a duplicate of bug 97764 ***

Reply via email to