[patch] Fix ACATS c65003a

Eric Botcazou ebotcazou@adacore.com
Thu Nov 6 14:56:00 GMT 2014


> Can you instead of initializing it with 0, turn it into a default
> definition?
> 
> Thus do sth like
> 
> SSA_NAME_VAR (lhs) = create_tmp_reg (TREE_TYPE (lhs), NULL);
> set_ssa_default_def (cfun, SSA_NAME_VAR (lhs), lhs);

This occurred to me, but I didn't feel comfortable about fiddling with the 
SSA_NAME_VAR of LHS.  Now this appears to work fine, so I'll install the 
modified version if a full testing cycle successfully finishes.

> Ok with that change.

Thanks.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list