diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-05 12:06:54 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-05 12:06:54 +0000 |
commit | 640fba6f23ad984d9dfd9ceb135c7a419d477b94 (patch) | |
tree | e05e27e3ffb7ec0c24fa67011460b29b81c777ab /gcc/tree-outof-ssa.c | |
parent | 1a086819730325a69fddedef6b98c608be5194cb (diff) | |
download | gcc-640fba6f23ad984d9dfd9ceb135c7a419d477b94.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131336 138bc75d-0d04-0410-961f-82ee72b054a4
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 fd22d327fe9..b2816a0ca33 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 |