public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6710: usage of typeof() generates internal error
@ 2002-05-18 6:59 paolo
0 siblings, 0 replies; 2+ messages in thread
From: paolo @ 2002-05-18 6:59 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, marco, nobody
Synopsis: usage of typeof() generates internal error
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Sat May 18 06:59:29 2002
State-Changed-Why:
Duplicate, but missing the attachment, of c++/6711.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6710
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/6710: usage of typeof() generates internal error
@ 2002-05-17 16:06 marco
0 siblings, 0 replies; 2+ messages in thread
From: marco @ 2002-05-17 16:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 6710
>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:00 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:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-18 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-18 6:59 c++/6710: usage of typeof() generates internal error paolo
-- strict thread matches above, loose matches on Subject: below --
2002-05-17 16:06 marco
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).