[Bug target/107271] [13 Regression] ICE: in expand_vec_perm_shufps_shufps, at config/i386/i386-expand.cc:19676 with __builtin_shuffle()

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 17 07:54:37 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Target Milestone|---                         |13.0
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-10-17

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
19675         /* When lone_idx is not 0, it must from second op(count == 1). 
*/
19676         gcc_assert (count == (lone_idx ? 1 : 3));

(gdb) p count
$5 = 3
(gdb) p lone_idx
$6 = 3

and d->perm[] is { 7, 4, 4, 0 }

maybe the function expects some canonicalization that isn't done?


More information about the Gcc-bugs mailing list