[patch] for pr 32160
Richard Guenther
richard.guenther@gmail.com
Thu May 31 13:12:00 GMT 2007
On 5/31/07, Zdenek Dvorak <rakdver@kam.mff.cuni.cz> wrote:
> Hello,
>
> when predictive commoning creates a temporary variable with complex
> type, it needs to mark it with DECL_GIMPLE_REG_P, otherwise we ICE
> in verify_ssa (as it is considered to be virtual operand).
>
> Bootstrapped & regtested on x86_64.
This is ok.
Thanks,
Richard.
> Zdenek
>
> PR tree-optimization/32160
> * tree-predcom.c (predcom_tmp_var): New function. Mark created
> variable as gimple reg.
> (initialize_root_vars, initialize_root_vars_lm): Use predcom_tmp_var.
>
> * gfortran.dg/predcom-1.f: New test.
More information about the Gcc-patches
mailing list