This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error in gcc 2.96 (i386-redhat-linux)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal compiler error in gcc 2.96 (i386-redhat-linux)
- From: Andreas Florath <aflorath at gmx dot de>
- Date: Thu, 26 Oct 2000 10:13:10 +0200
Hello,
here is a bug report for gcc:
* gcc -v output:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
(I hope this goes here and not to RedHat directly :-)
* Command that triggers the bug:
g++ -c a.cc
* Compiler output:
a.cc:27: parse error at end of input
a.cc:27: Internal compiler error in pop_binding, at ../gcc/cp/decl.c:
1213
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
* Do not know the options were used to build the compiler.
* The source
----------------- a.cc -----------------------------------------------
namespace G
{
class A
{
public:
void f(void) const;
};
}
namespace G
{
void A::f(void) const
{
for(;;)
{
for(int i=0; i<100; ++i)
if(i<99)
{
}
}
}
----------------------------------------------------------------------
Happy debugging
Andre