* tree-sra.c (instantiate_element): Copy DECL_IGNORED_P also.

From-SVN: r89356
This commit is contained in:
Richard Henderson 2004-10-20 17:49:25 -07:00 committed by Richard Henderson
parent 851c356137
commit 310ff87213
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-10-20 Richard Henderson <rth@redhat.com>
* tree-sra.c (instantiate_element): Copy DECL_IGNORED_P also.
2004-10-20 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Revert my previous patch.

View File

@ -1106,6 +1106,7 @@ instantiate_element (struct sra_elt *elt)
DECL_SOURCE_LOCATION (var) = DECL_SOURCE_LOCATION (base);
TREE_NO_WARNING (var) = TREE_NO_WARNING (base);
DECL_ARTIFICIAL (var) = DECL_ARTIFICIAL (base);
DECL_IGNORED_P (var) = DECL_IGNORED_P (base);
if (DECL_NAME (base) && !DECL_IGNORED_P (base))
{