This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR 12879 regression for gcc 3.4.x?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Craig Rodrigues <rodrigc at crodrigues dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 29 Jul 2004 07:51:25 -0700
- Subject: Re: PR 12879 regression for gcc 3.4.x?
- References: <20040729122237.GA9034@crodrigues.org>
On Thu, Jul 29, 2004 at 08:22:37AM -0400, Craig Rodrigues wrote:
> Hi,
>
> I am using this compiler which was recently imported into
> FreeBSD-CURRENT:
>
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.4.2 [FreeBSD] 20040728
>
>
> If I try to compile the testcase in:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12879
>
> I get an error, even though this PR states that this is fixed
> in gcc 3.4. Is this a regression?
Works for me on Linux:
[hjl@gnu-9i tmp]$ /usr/gcc-3.4/bin/gcc --version
gcc (GCC) 3.4.2 20040728 (prerelease)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[hjl@gnu-9i tmp]$ /usr/gcc-3.4/bin/gcc -c x.cc
x.cc:2: error: invalid use of undefined type `struct Exception'
x.cc:1: error: forward declaration of `struct Exception'
H.J.