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] for pr 32160


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.


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