aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-11-15 10:35:34 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2006-11-15 10:35:34 +0100
commit08700251e57a6fe9133fe77a31b098a99abd26e8 (patch)
tree98699616c4062e9e81d2c10336ff645e90ced992 /gcc/tree-optimize.c
parentd6cfd93133a6b3c3b32d98c6087e90c6b6be2685 (diff)
downloadgcc-08700251e57a6fe9133fe77a31b098a99abd26e8.zip
gcc-08700251e57a6fe9133fe77a31b098a99abd26e8.tar.gz
gcc-08700251e57a6fe9133fe77a31b098a99abd26e8.tar.bz2
re PR tree-optimization/29581 (Latent bug in 4.1/4.2/4.3 lambda-code.c)
PR tree-optimization/29581 * lambda-code.c (replace_uses_equiv_to_x_with_y): Add YINIT, REPLACEMENTS, FIRSTBSI arguments. If initial condition or type is different between Y and USE, create a temporary variable, initialize it at the beginning of the body bb and use it as replacement instead of Y. * gcc.dg/pr29581-1.c: New test. * gcc.dg/pr29581-2.c: New test. * gcc.dg/pr29581-3.c: New test. * gcc.dg/pr29581-4.c: New test. * gfortran.dg/pr29581.f90: New test. From-SVN: r118848
Diffstat (limited to 'gcc/tree-optimize.c')
0 files changed, 0 insertions, 0 deletions