public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6544: G++ and illegal code: Internal compiler error in pop_binding, at cp/decl.c:1187
@ 2002-06-05  8:17 lerdsuwa
  0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-06-05  8:17 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gcc, nobody

Synopsis: G++ and illegal code: Internal compiler error in pop_binding, at cp/decl.c:1187

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Wed Jun  5 08:17:11 2002
State-Changed-Why:
    Confirmed.

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


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

* Re: c++/6544: G++ and illegal code: Internal compiler error in pop_binding, at cp/decl.c:1187
@ 2003-01-04 15:22 ehrhardt
  0 siblings, 0 replies; 3+ messages in thread
From: ehrhardt @ 2003-01-04 15:22 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gcc, nobody

Synopsis: G++ and illegal code: Internal compiler error in pop_binding, at cp/decl.c:1187

State-Changed-From-To: analyzed->closed
State-Changed-By: cae
State-Changed-When: Sat Jan  4 07:22:08 2003
State-Changed-Why:
    Fixed by new parser, testcase submitted.

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


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

* c++/6544: G++ and illegal code: Internal compiler error in pop_binding, at cp/decl.c:1187
@ 2002-05-02 19:56 gcc
  0 siblings, 0 replies; 3+ messages in thread
From: gcc @ 2002-05-02 19:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6544
>Category:       c++
>Synopsis:       G++ and illegal code: Internal compiler error in pop_binding, at cp/decl.c:1187
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Thu May 02 19:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jukka Suomela
>Release:        gcc version 3.2 20020502 (experimental)
>Organization:
>Environment:
Debian Linux x86
>Description:
ICE on illegal code in latest G++ CVS version. G++-3.0.4 doesn't give ICE. Full preprocessed source code is shown in the How-To-Repeat section.

Full compiler output of "g++ -v -save-temps -c test.cc" follows:

Reading specs from /home/js/opt/gcc-cvs/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../gcc/configure --prefix=/home/js/opt/gcc-cvs
Thread model: single
gcc version 3.2 20020502 (experimental)
 /home/js/opt/gcc-cvs/lib/gcc-lib/i686-pc-linux-gnu/3.2/cc1plus -E -lang-c++ -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ test.cc test.ii
GNU CPP version 3.2 20020502 (experimental) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/home/js/opt/gcc-cvs/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/js/opt/gcc-cvs/include/g++-v3
 /home/js/opt/gcc-cvs/include/g++-v3/i686-pc-linux-gnu
 /home/js/opt/gcc-cvs/include/g++-v3/backward
 /usr/local/include
 /home/js/opt/gcc-cvs/include
 /home/js/opt/gcc-cvs/lib/gcc-lib/i686-pc-linux-gnu/3.2/include
 /usr/include
End of search list.
 /home/js/opt/gcc-cvs/lib/gcc-lib/i686-pc-linux-gnu/3.2/cc1plus -fpreprocessed test.ii -quiet -dumpbase test.cc -version -o test.s
GNU CPP version 3.2 20020502 (experimental) (cpplib) (i386 Linux/ELF)
GNU C++ version 3.2 20020502 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2 20020502 (experimental).
test.cc:1: warning: all member functions in class `X<T>' are private
test.cc:2: no `X<T>::X()' member function declared in class `X<T>'
test.cc:2: template definition of non-template `X<T>::X()'
test.cc: In constructor `X<T>::X()':
test.cc:2: parse error before `;' token
test.cc:2: ISO C++ forbids declaration of `y' with no type
test.cc:2: parse error before `}' token
test.cc: In function `int foo()':
test.cc:3: Internal compiler error in pop_binding, at cp/decl.c:1187
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
# 1 "test.cc"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test.cc"
template<class T> class X { void y(); };
template<class T> inline X<T>::X(); { y(); y(); }
int foo() {}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-01-04 15:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-05  8:17 c++/6544: G++ and illegal code: Internal compiler error in pop_binding, at cp/decl.c:1187 lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2003-01-04 15:22 ehrhardt
2002-05-02 19:56 gcc

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).