[PATCH] Fix middle-end/30132: ICE with complex and taking the real part of a ?:

Richard Henderson rth@redhat.com
Tue Mar 20 21:39:00 GMT 2007


On Wed, Mar 14, 2007 at 02:58:28PM -0800, Andrew_Pinski@PlayStation.Sony.Com wrote:
> +	  /* If we don't already have an addressable expression, create a new
> +	     decl to hold it so we don't get non gimple as the decl which was
> +	     holding this before was not marked as addressable already.  */
> +	  if (TREE_CODE (op0) == VAR_DECL
> +	      && DECL_GIMPLE_FORMAL_TEMP_P (op0)
> +	      && !TREE_ADDRESSABLE (op0))
> +	    TREE_OPERAND (expr, 0) = get_initialized_tmp_var (op0, pre_p,
> +							      post_p);

How does this follow?  I can't think of any valid case for
which we have a conditional store to a formal temporary.


r~



More information about the Gcc-patches mailing list