public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6682: many types undefined makes a compiler bug
@ 2003-05-01 16:36 Giovanni Bajo
0 siblings, 0 replies; 2+ messages in thread
From: Giovanni Bajo @ 2003-05-01 16:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/6682; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
<ldelana@libero.it>,
<gcc-bugs@gcc.gnu.org>,
<nobody@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>
Cc:
Subject: Re: c++/6682: many types undefined makes a compiler bug
Date: Thu, 1 May 2003 18:35:40 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6682
Very interesting testcase for error reporting ICEs, but it needed some heavy
cleanup.
A first regression is the following:
-------------------------------------------
void func(void*, INVALID (*child_func)(INVALID));
-------------------------------------------
regr1.cpp:2: `child_func' was not declared in this scope
regr1.cpp:2: `INVALID' was not declared in this scope
regr1.cpp:2: type specifier omitted for parameter `
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
But it's a regression on the (now closed) 3.2 branch only, 3.3 and 3.4 does
not have this problem. So it can be ignored as already fixed.
Then, we have this:
-------------------------------------------
typedef struct _foo foo;
void bar(void) INVALID;
struct _foo
{};
-------------------------------------------
pr6682.cpp: In function `void bar()':
pr6682.cpp:3: error: syntax error before `;' token
pr6682.cpp:3: error: ISO C++ forbids declaration of `INVALID' with no type
pr6682.cpp:6: error: declaration of `struct _foo' in `void bar()' which does
not enclose `::'
pr6682.cpp:6: internal compiler error: Segmentation fault
Please submit a full bug report,
which is a regression on the 3.3 branch only, with respect to 3.2 and
previous. 3.4 does not have this problem.
So I will keep this bug report open as a 3.3 regression, ice-on-illegal.
Giovanni Bajo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/6682: many types undefined makes a compiler bug
@ 2002-06-05 7:31 lerdsuwa
0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-06-05 7:31 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, ldelana, nobody
Synopsis: many types undefined makes a compiler bug
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Wed Jun 5 07:31:15 2002
State-Changed-Why:
Confirmed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6682
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-01 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 16:36 c++/6682: many types undefined makes a compiler bug Giovanni Bajo
-- strict thread matches above, loose matches on Subject: below --
2002-06-05 7:31 lerdsuwa
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).