I finally found the bug: its name is "g++"

Carlo Wood carlo@alinoe.com
Thu Sep 6 10:07:00 GMT 2001

I started to use C++ around 2.96 (RedHats) and have since
reported dozens of bug reports - which indeed have taken a lot
of my time.  By far most of these problems have been related
to templates, as I've been playing pioneer in this field
(not being bothered by any experience but the ISO C++ ref).

However, since the release of 3.0 this 'nightmare' stopped.
It has been a long time since I ran into a compiler bug.
The problems that 3.0 has are known and will be fixed in
3.1 I hear.  I trust the developers that 3.1 will be able
to compile whatever 3.0 could compile (THAT is what the
testsuite is about: it is a regression testsuite, not a
standards-compliant testsuite).

I should be noted that I never (yet) compiled anything
with -O1 ... I'll leave that till the moment that I am
100% satisfied with what g++ achieves with -O0 ;).

I don't know what you are programming, but I DO know that
what has appeared to me as a compiler bug often wasn't
one.  You simply can't know until you made that small
test-case.  I do believe you have had a lot of problems
but were they really compiler bugs?  How many bugs reports
have you written that have been confirmed to be really
compiler bugs in the end?


Carlo Wood <carlo@alinoe.com>

More information about the Gcc-bugs mailing list