c++/8691: -O3 and -fno-implicit-templates are incompatible

Christoph Ludwig cludwig@cdc.informatik.tu-darmstadt.de
Mon Nov 25 05:52:00 GMT 2002

Others already confirmed they can reproduce the bug with specific 
binutils versions. Just for completeness, here is the data you asked for:

lidiaadm@lap200:~> g++ -v
Reading specs from /opt/gcc/gcc-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: /home/lidiaadm/tmp/gcc-3.2-src/gcc-3.2/configure --prefix=/opt/gcc/gcc-3.2 --enable-threads=posix --enable-version-specific-runtime-libs --enable-__cxa_atexit
Thread model: posix
gcc version 3.2

I am running SuSE Linux with the binutils that shipped with the

lidiaadm@lap200:~> ld -v
GNU ld version 20011021 (SuSE)

Just in case it helps you tracking down the problem's cause: On my
system, gcc 3.1 is the first compiler release that fails to build the
test program. 3.0.4 builds it fine.



On Sun, Nov 24, 2002 at 09:30:50PM -0000, reichelt@igpm.rwth-aachen.de wrote:
> Synopsis: -O3 and -fno-implicit-templates are incompatible
> State-Changed-From-To: open->feedback
> State-Changed-By: reichelt
> State-Changed-When: Sun Nov 24 13:30:49 2002
> State-Changed-Why:
>     I cannot reproduce the bug with 3.2 (or 3.1 or 3.2.1)
>     on i686-pc-linux-gnu (using the original testcase and the
>     preprocessed version).
>     Are you really using the gcc 3.2 release or some prerelease
>     or some modified version from a LINUX distributor instead?
>     If the latter is true, you should try to install gcc 3.2.1
>     from source.
>     Please contact us, whether the problems still persist
>     or vanished. In the latter case, please add "-v" to the
>     command line options and provide us with the output so that we
>     we can investigate the problem.
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8691

LiDIA-CA: http://www.informatik.tu-darmstadt.de/TI/Forschung/LiDIA-CA/

More information about the Gcc-bugs mailing list