I've tested a few GNU compilers. It seems only to be possible to replicate the problem with GNU g++ 3.4.x branch.

v2.9.5, 3.3.x, and 4.1 works fine. I may have stumbled upon an internal compiler error of some sort..

/Kenneth

at"@ wrote:
Sorry about the misleading subject. I ealier supected a problem with STL vectors, but this is obviously not the case ;-)

/Kenneth Karoliussen

at"@ wrote:

Hi,

I'm currently working on FreeBSD with and using GNU g++ v3.4.4.

The following code leaks and sometimes crashes with a bus error.

*snip*
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to