public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9474: [3.2/3.3/3.4 regression] GCC freezes in compiling a weird code mixing <iostream> and <iostream.h>
@ 2003-03-12 3:33 mmitchel
0 siblings, 0 replies; 2+ messages in thread
From: mmitchel @ 2003-03-12 3:33 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mmitchel, nobody, t-gcc
Synopsis: [3.2/3.3/3.4 regression] GCC freezes in compiling a weird code mixing <iostream> and <iostream.h>
Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: mmitchel
Responsible-Changed-When: Wed Mar 12 03:33:11 2003
Responsible-Changed-Why:
Working on a fix.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9474
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/9474: [3.2/3.3/3.4 regression] GCC freezes in compiling a weird code mixing <iostream> and <iostream.h>
@ 2003-01-28 14:01 ehrhardt
0 siblings, 0 replies; 2+ messages in thread
From: ehrhardt @ 2003-01-28 14:01 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, t-gcc
Old Synopsis: GCC freezes in compiling a weird code mixing <iostream> and <iostream.h>
New Synopsis: [3.2/3.3/3.4 regression] GCC freezes in compiling a weird code mixing <iostream> and <iostream.h>
State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Tue Jan 28 14:01:22 2003
State-Changed-Why:
Confirmed. Here's a reduced testcase, probably illegal but I'm not 100% sure.
This is actually an infinite loop in gcc, not an ICE but I'll leave this
in ICE on illegal for the moment.
---------- cut ----------
namespace X {
typedef struct {
} x;
};
typedef X::x x;
using X::x;
---------- cut ----------
This is a regression from 2.95 which issued this error:
t.cc:6: using directive `x' introduced ambiguous type `X::x'
The loop is in the function original_type in gcc/cp/typeck.c because the
decl for ::x references itself in DECL_ORIGINAL_TYPE (TYPE_NAME (x)).
regards Christian
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9474
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-12 3:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-12 3:33 c++/9474: [3.2/3.3/3.4 regression] GCC freezes in compiling a weird code mixing <iostream> and <iostream.h> mmitchel
-- strict thread matches above, loose matches on Subject: below --
2003-01-28 14:01 ehrhardt
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).