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]

Re: C++ PATCH: PR 15227, 15877, 14211, 15076


On Fri, 11 Jun 2004 01:42:54 -0400, Jason Merrill <jason@redhat.com> wrote:

> This change broke libstdc++.  I'm applying the obvious fix

Actually, on closer reading I corrected parser.c to match the patch you
posted by applying this:

*** parser.c.~1~	2004-06-10 14:26:35.000000000 -0400
--- parser.c	2004-06-11 01:43:28.000000000 -0400
*************** cp_parser_direct_declarator (cp_parser* 
*** 10732,10738 ****
  			   TYPE_IDENTIFIER (scope));
  		  /* Build a new DECLARATOR.  */
  		  declarator = build_nt (SCOPE_REF,
! 					 scope,
  					 TREE_OPERAND (declarator, 1));
  		}
  	    }
--- 10732,10738 ----
  			   TYPE_IDENTIFIER (scope));
  		  /* Build a new DECLARATOR.  */
  		  declarator = build_nt (SCOPE_REF,
! 					 type,
  					 TREE_OPERAND (declarator, 1));
  		}
  	    }

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