This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tweak sra debug output


I noticed while looking at something else that the following copyrename
pass made the opposite choice than what it should have.  Fixed thus.


r~


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

Index: tree-sra.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-sra.c,v
retrieving revision 2.37
diff -c -p -d -r2.37 tree-sra.c
*** tree-sra.c	28 Sep 2004 07:59:52 -0000	2.37
--- tree-sra.c	21 Oct 2004 00:48:10 -0000
*************** instantiate_element (struct sra_elt *elt
*** 1106,1111 ****
--- 1106,1112 ----
    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))
      {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]