This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Use promote_mode to handle mismatched modes in out-of-ssa
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 Aug 2009 21:07:01 -0400 (EDT)
- Subject: Re: RFA: Use promote_mode to handle mismatched modes in out-of-ssa
- References: <87zlaaaeqc.fsf@firetop.home>
On Sat, 8 Aug 2009, Richard Sandiford wrote:
> gcc/
> * tree-out-of-ssa.c (insert_value_copy_on_edge): If the source
> and destination have different modes, Use promote_mode to
> determine the signedness of the conversion. Assert that the
> promoted source mode matches the destination mode. Don't pass
> the destination and destination mode to expand_expr if the source
> mode is different. Simplify conversion logic.
This caused a build breakage, see PR41031.
brgds, H-P