[Bug target/94438] [8/9/10 Regression] ICE: verify_gimple failed: position plus size exceeds size of referenced object in 'bit_field_ref' with -mavx512vbmi -mavx512vl

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 2 15:24:05 GMT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 48172
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48172&action=edit
gcc10-pr94438.patch

Untested fix.  It seems completely wrong to try to use int masks for V*TImode,
the hook correctly only supports V*[SD]Imode if not -mavx512bw, but with
-mavx512bw it just doesn't check elem_size at all.


More information about the Gcc-bugs mailing list