Commit 58fcda21 by Jakub Jelinek Committed by Jakub Jelinek

re PR tree-optimization/34618 (ICE with -fmudflap and vectorization)

	PR tree-optimization/34618
	* tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
	flag from T.

	* testsuite/libmudflap.c/pass62-frag.c: New test.

From-SVN: r131336
parent f1bf33ce
2008-01-05 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/34618
* tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
flag from T.
2008-01-05 Uros Bizjak <ubizjak@gmail.com>
PR target/34673
/* Convert a program in SSA form into Normal form.
Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Contributed by Andrew Macleod <amacleod@redhat.com>
This file is part of GCC.
......@@ -119,6 +119,7 @@ create_temp (tree t)
}
DECL_ARTIFICIAL (tmp) = DECL_ARTIFICIAL (t);
DECL_IGNORED_P (tmp) = DECL_IGNORED_P (t);
DECL_GIMPLE_REG_P (tmp) = DECL_GIMPLE_REG_P (t);
add_referenced_var (tmp);
/* add_referenced_var will create the annotation and set up some
......
2008-01-05 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/34618
* testsuite/libmudflap.c/pass62-frag.c: New test.
2008-01-03 Jakub Jelinek <jakub@redhat.com>
PR c++/34619
......
/* PR tree-optimization/34618 */
/* { dg-do compile } */
/* { dg-options "-O3 -fmudflap" } */
int a[16];
void
foo ()
{
int i;
for (i = 0; i < 16; i++)
a[i] = i;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment