diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-01-05 13:06:54 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-01-05 13:06:54 +0100 |
commit | 58fcda212fea0a129016917d3cc13063ffc7de68 (patch) | |
tree | e05e27e3ffb7ec0c24fa67011460b29b81c777ab /gcc/tree-outof-ssa.c | |
parent | f1bf33ce5229a313acccff578cc6c9d22df0447e (diff) | |
download | gcc-58fcda212fea0a129016917d3cc13063ffc7de68.zip gcc-58fcda212fea0a129016917d3cc13063ffc7de68.tar.gz gcc-58fcda212fea0a129016917d3cc13063ffc7de68.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-outof-ssa.c')
-rw-r--r-- | gcc/tree-outof-ssa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index fd22d32..b2816a0 100644 --- a/gcc/tree-outof-ssa.c +++ b/gcc/tree-outof-ssa.c @@ -1,5 +1,5 @@ /* 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 |