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: [PATCH] Fix PR c++/6477 (regression from 3.0.x)




--On Monday, April 29, 2002 11:16:13 AM +0200 Jakub Jelinek 
<jakub@redhat.com> wrote:

> Hi!
>
> Richards recent patch introduced an ICE for code, which is illegal,
> though I think may happen from time to time.
> Below is a fix, bootstrapped on i386-redhat-linux with no regressions.
> Ok to commit? Ok for branch?
>
> 2002-04-29  Jakub Jelinek  <jakub@redhat.com>
>
> 	PR c++/6477
> 	* decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is
> 	non-NULL first.
>
> 	* g++.dg/parse/typedef1.C: New test.

OK, thanks.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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