This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/85925] [7/8/9 Regression] Mis-compilation at -02, masking with 257 goes wrong in combine
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 May 2018 15:26:58 +0000
- Subject: [Bug rtl-optimization/85925] [7/8/9 Regression] Mis-compilation at -02, masking with 257 goes wrong in combine
- Auto-submitted: auto-generated
- References: <bug-85925-4@http.gcc.gnu.org/bugzilla/>
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?