public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6711: usage of typeof() generates internal error
@ 2002-05-17 16:06 marco
0 siblings, 0 replies; 3+ messages in thread
From: marco @ 2002-05-17 16:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 6711
>Category: c++
>Synopsis: usage of typeof() generates internal error
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 17 16:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: marco@technoboredom.net
>Release: unknown-1.0
>Organization:
>Environment:
$ uname -a
CYGWIN_NT-5.0 OBLOMOW 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown
Administrator@OBLOMOW /cygdrive/c/tmp/New Folder
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.1/specs
Configured with: ../gcc-3.1/configure --program-suffix=-3.1 --enable-shared --enable-threads=win32 --enable-languages=c,
c++,objc,f77 --enable-win32-registry : (reconfigured) ../gcc-3.1/configure --prefix=/usr --program-suffix=-3.1 --enable-
shared --enable-threads=win32 --enable-languages=c,c++,objc,f77 --enable-win32-registry
Thread model: win32
gcc version 3.1
>Description:
GCC doesn't recognize expressions of the form typeof()::type, and under certain circumstances it produces a request to submit a bug report.
>How-To-Repeat:
If the attachment 'b.cc' is compiled with:
gcc -DA -c b.cc
then this message:
<quote>
b.cc: In function `int main()':
b.cc:10: `template<class _Category, class _Tp, class _Distance, class _Pointer,
class _Reference> struct std::iterator' as declarator
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
<quote>
If the attachment 'b.cc' is compiled with:
gcc -DB -c b.cc
then this message:
b.cc: In function `int main()':
b.cc:20: parse error before `=' token
b.cc:20: `it' undeclared (first use this function)
b.cc:20: (Each undeclared identifier is reported only once for each function it
appears in.)
</quote>
is generated. In the -DB case the "using namespace std;" statement is removed.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="b.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="b.cc"
I2lmIEENCg0KI2luY2x1ZGUgPGxpc3Q+DQoNCnVzaW5nIG5hbWVzcGFjZSBzdGQ7IA0KDQppbnQg
bWFpbiggKQ0Kew0KICBzdGQ6Omxpc3Q8aW50PiBsOyANCiAgZm9yICh0eXBlb2YobCk6Oml0ZXJh
dG9yIGl0PWwuYmVnaW4oKTtpdCE9bC5iZWdpbigpO2l0KyspOyAgDQp9DQoNCiNlbGlmIEINCg0K
I2luY2x1ZGUgPGxpc3Q+DQoNCmludCBtYWluKCApDQp7DQogIHN0ZDo6bGlzdDxpbnQ+IGw7IA0K
ICBmb3IgKHR5cGVvZihsKTo6aXRlcmF0b3IgaXQ9bC5iZWdpbigpO2l0IT1sLmJlZ2luKCk7aXQr
Kyk7ICANCn0NCg0KI2Vsc2UgDQojZXJyb3IgImNvbXBpbGUgd2l0aCAtREEgb3IgLURCIg0KI2Vu
ZGlmDQo=
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/6711: usage of typeof() generates internal error
@ 2003-01-22 22:19 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-01-22 22:19 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, marco, nobody
Synopsis: usage of typeof() generates internal error
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Wed Jan 22 22:19:51 2003
State-Changed-Why:
The typeof(X)::T thing is reported in 6709. The ICE is
fixed already on the 3.2.2 CVS, as well as 3.3 and 3.4
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6711
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/6711: usage of typeof() generates internal error
@ 2002-05-22 7:21 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-05-22 7:21 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, marco, nobody
Synopsis: usage of typeof() generates internal error
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Wed May 22 07:20:21 2002
State-Changed-Why:
Confirmed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6711
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-22 22:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-17 16:06 c++/6711: usage of typeof() generates internal error marco
2002-05-22 7:21 lerdsuwa
2003-01-22 22:19 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).