This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]