https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #19 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
When this deficiency is finally resolved, we should be able to remove the code
in convert_to_integer dealing with narrowing operands:
738 case PLUS_EXPR:
739 case MINUS_EXPR:
740 case BIT_AND_EXPR:
741 case BIT_IOR_EXPR:
742 case BIT_XOR_EXPR:
743 trunc1:
744 {
...
821 return convert (type,
822 fold_build2 (ex_form, typex,
823 convert (typex, arg0),
824 convert (typex, arg1)));