re PR tree-optimization/14466 (missed PHI optimization (different types))
authorAndrew Pinski <pinskia@physics.uc.edu>
Fri, 14 May 2004 15:27:37 +0000 (15:27 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 14 May 2004 15:27:37 +0000 (08:27 -0700)
commit571325db5977ad68205f88d6e4d86b1ffaeaaeec
tree045c5d0ec64afc180b33c76ab77d652bb726157b
parenta2f0e34d9ecd47343f8cdcc78841de15a7e5b2c0
re PR tree-optimization/14466 (missed PHI optimization (different types))

2004-05-14  Andrew Pinski  <pinskia@physics.uc.edu>

          PR optimization/14466
        * tree-complex.c (make_temp): Remove.
        (gimplify_val): Replace make_temp with make_rename_temp
        and add NULL as the second argument.
        (expand_complex_div_wide): Likewise.
        * tree-dfa.c (make_rename_temp): New function.
        * tree-flow.h (make_rename_temp): Declare.
        * tree-sra.c (make_temp): Remove.
        (lookup_scalar): Replace make_temp with make_rename_temp.
        (create_scalar_copies): Likewise.
        * tree-ssa-phiopt.c (conditional_replacement): When we
        get non gimple create a temporary variable to hold the
        casted expression.

2004-05-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR optimization/14466
        * gcc.dg/tree-ssa/20040514-1.c: New test.

From-SVN: r81847
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/20040514-1.c [new file with mode: 0644]
gcc/tree-complex.c
gcc/tree-dfa.c
gcc/tree-flow.h
gcc/tree-sra.c
gcc/tree-ssa-live.h
gcc/tree-ssa-phiopt.c