On Thu, Jun 19, 2025 at 05:59:10PM +0800, Yang Yujie wrote:
> --- a/gcc/expr.cc
> +++ b/gcc/expr.cc
> @@ -11268,6 +11268,10 @@ expand_expr_real_1 (tree exp, rtx target,
> machine_mode tmode,
>tree ssa_name = NULL_TREE;
>gimple *g;
>
> + type = TREE_TYPE (exp);
> + mode = TYPE_MODE (typ
For targets that set the "extended" flag in TARGET_C_BITINT_TYPE_INFO,
we assume small _BitInts to be internally extended after arithmetic
operations. In this case, an extra extension during RTL expansion
can be avoided.
gcc/ChangeLog:
* expr.cc (expand_expr_real_1): Do not call
r