[Bug tree-optimization/95694] [9/10/11 Regression] ICE in trunc_int_for_mode, at explow.c:59 since r9-7156-g33579b59aaf02eb7
rsandifo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 16 08:06:24 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95694
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2020-06-16
--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
OK.
It looks like the mode is readily available in each call to
REDUCE_BIT_FIELD, so I think we should just pass that down.
It would also avoid:
if (target && GET_MODE (target) != GET_MODE (exp))
target = 0;
creating unnecessary temporaries for constant integers.
More information about the Gcc-bugs
mailing list