public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9432: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152
@ 2003-04-30 16:47 lerdsuwa
  0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2003-04-30 16:47 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lerdsuwa, nobody, rguenth

Synopsis: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152

Responsible-Changed-From-To: unassigned->lerdsuwa
Responsible-Changed-By: lerdsuwa
Responsible-Changed-When: Wed Apr 30 16:47:15 2003
Responsible-Changed-Why:
    Working on a fix.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9432


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9432: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152
@ 2003-04-30 17:52 lerdsuwa
  0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2003-04-30 17:52 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lerdsuwa, rguenth

Synopsis: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152

State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Wed Apr 30 17:52:57 2003
State-Changed-Why:
    Fixed

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9432


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9432: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152
@ 2003-01-24 23:06 Giovanni Bajo
  0 siblings, 0 replies; 4+ messages in thread
From: Giovanni Bajo @ 2003-01-24 23:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9432; it has been noted by GNATS.

From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
	<rguenth@tat.physik.uni-tuebingen.de>,
	<gcc-bugs@gcc.gnu.org>,
	<nobody@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>
Cc:  
Subject: Re: c++/9432: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152
Date: Fri, 24 Jan 2003 23:59:14 +0100

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
 r=9432
 
 Using declarations to 'import' symbols from base classes are legal only at
 class definition scope, not member function scope. You can use using
 declarations at function scope to import from other namespaces, that's
 perfectly legal:
 
 namespace A
 { int a; }
 
 struct Foo {
   void Bar(void)
   {
     using A::a;
     a = 5;
   }
 };
 
 I agree that the proposed code should not compile.
 
 Giovanni Bajo
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9432: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152
@ 2003-01-24 22:37 bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-01-24 22:37 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rguenth

Old Synopsis: [3.4 regression] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152
New Synopsis: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Jan 24 22:37:21 2003
State-Changed-Why:
    Confirmed. It's a regression of-sorts: up to 3.3, we get a
    parse error, although I see no compelling reason why this
    shouldn't be legal (but then I'm not a language lawyer). In
    any case, the new parser gives an ICE, which is worse than
    before.
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9432


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-30 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-30 16:47 c++/9432: [3.4 regression] [New parser] ICE in validate_nonmember_using_decl, at cp/decl2.c:4152 lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2003-04-30 17:52 lerdsuwa
2003-01-24 23:06 Giovanni Bajo
2003-01-24 22:37 bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).