Jakub Jelinek writes:
> 2011-09-06 Jakub Jelinek
>
> PR debug/50299
> * calls.c (load_register_parameters): Use use_reg_mode instead
> of use_reg when adding a single register CALL_INSN_FUNCTION_USAGE
> entry.
> (expand_call): Set EXPR_LIST mode to TYPE_MODE of the
Hi!
CALL_INSN_FUNCTION_USAGE contains for each (use (reg:M)) or (use (mem:M))
the mode of the promoted argument, not the original mode, which is needed
for RTL optimizations, but prepare_call_arguments would like to know
the original non-promoted argument mode (i.e. TYPE_MODE of the argument's
typ