[patch] PR32901: handle assignment from constructors better

Diego Novillo dnovillo@google.com
Wed Dec 12 00:22:00 GMT 2007

On 12/11/07 2:22 PM, Aldy Hernandez wrote:

> 	* gimplify.c (gimplify_modify_expr_rhs): Handle the case when we
> 	are assigning from a constant constructor.
> 	Fix wrapping in function comment.

OK, with:

> +      case VAR_DECL:
> +	/* If we're assigning from a constant constructor, move the
> +	   constructor expression to the RHS of the MODIFY_EXPR.
> +	*/

Closing comment on previous line.

You also need to add the PR reference to the CL entry.


More information about the Gcc-patches mailing list