This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/85925] [7/8/9 Regression] Mis-compilation at -02, masking with 257 goes wrong in combine


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |segher at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r242946.
This is called when trying to simplify HImode lowpart subreg of
(zero_extract:SI (reg/v:SI 117 [ f ])
    (const_int 15 [0xf])
    (const_int 0 [0]))
and we return newly from that
(zero_extract:HI (subreg:HI (reg/v:SI 117 [ f ]) 0)
    (const_int 15 [0xf])
    (const_int 0 [0]))
which looks correct to me, so perhaps just a latent combiner or backend issue?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]