Lines 1784-1790
Link Here
|
1784 |
/* Try to fold (type) X op CST -> (type) (X op ((type-x) CST)). */ |
1784 |
/* Try to fold (type) X op CST -> (type) (X op ((type-x) CST)). */ |
1785 |
if (TREE_CODE (arg2) == INTEGER_CST |
1785 |
if (TREE_CODE (arg2) == INTEGER_CST |
1786 |
&& CONVERT_EXPR_CODE_P (def1_code) |
1786 |
&& CONVERT_EXPR_CODE_P (def1_code) |
1787 |
&& INTEGRAL_TYPE_P (TREE_TYPE (def1_arg1)) |
1787 |
&& INTEGRAL_TYPE_P (def1_arg1) |
1788 |
&& int_fits_type_p (arg2, TREE_TYPE (def1_arg1))) |
1788 |
&& int_fits_type_p (arg2, TREE_TYPE (def1_arg1))) |
1789 |
{ |
1789 |
{ |
1790 |
gimple newop; |
1790 |
gimple newop; |