https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124931
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
21605 will always pass E_HFmode because of the check above on mode.
For E_HFmode, it is translated to SFmode inside sse_store_index and that
GET_MODE_SIZE is 32. So it will never return -1.
26696 is more complex but only SF, DF or HF modes will be passed here as that
will be the only cases for SLP usage.
#define IS_STACK_MODE(MODE) \
(X87_FLOAT_MODE_P (MODE) \
&& (!(SSE_FLOAT_MODE_P (MODE) && TARGET_SSE_MATH) \
|| TARGET_MIX_SSE_I387))
So you could add an assert that is not -1 for the one on 26696 but you would
get other ICEs before hand anyways so I don't think it is worth changing.
So closing as invalid based on that.