Commit 310ff872 by Richard Henderson Committed by Richard Henderson

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

From-SVN: r89356
parent 851c3561
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> 2004-10-20 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Revert my previous patch. * configure.ac: Revert my previous patch.
......
...@@ -1106,6 +1106,7 @@ instantiate_element (struct sra_elt *elt) ...@@ -1106,6 +1106,7 @@ instantiate_element (struct sra_elt *elt)
DECL_SOURCE_LOCATION (var) = DECL_SOURCE_LOCATION (base); DECL_SOURCE_LOCATION (var) = DECL_SOURCE_LOCATION (base);
TREE_NO_WARNING (var) = TREE_NO_WARNING (base); TREE_NO_WARNING (var) = TREE_NO_WARNING (base);
DECL_ARTIFICIAL (var) = DECL_ARTIFICIAL (base); DECL_ARTIFICIAL (var) = DECL_ARTIFICIAL (base);
DECL_IGNORED_P (var) = DECL_IGNORED_P (base);
if (DECL_NAME (base) && !DECL_IGNORED_P (base)) if (DECL_NAME (base) && !DECL_IGNORED_P (base))
{ {
......
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