C++ regression: constructors of static class variables not called
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Thu Aug 31 10:26:00 GMT 2000
On Thu, 24 Aug 2000, Loren James Rittle wrote:
> I cannot reproduce your problem with gcc 2.96 20000821 on
> i686-unknown-freebsd3.4 with stock binutils 2.10.
>
> I can confirm your problem with gcc 2.96 20000821 on
> i386-unknown-freebsd4.1 with system-shipped binutils (without
> explicitly configuring as and ld).
> [...]
> These tests should catch your testcase:
>
> ./g++.old-deja/g++.brendan/ctors[12].C
I know think it's a FreeBSD bug, as it appears with plain GCC 2.95.2
and GCC-current-CVS, but not with GCC 2.95.2 as shipped with FreeBSD 4.1.
I filed a FreeBSD bug report with highest priority
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20966
hopefully someone will have a look soon.
> I have not had any time to figure out why I see so much more breakage
> on 4.1. The earliest I can look is mid-September.
If the problems still exists then, that would be great!
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
More information about the Gcc-bugs
mailing list