
15 May
2010
15 May
'10
7:18 p.m.
Maxime van Noppen wrote:
Hi,
I've got a very strange problem with Boost.Function used in conjunction with Boost.Bind with g++ 4.5.0.
Here is the minimal test case: ...
I think that this sounds very much like an optimizer bug and the way to understand what's going on is to submit a bug report to the GCC bugzilla. It could, in principle, be an aliasing violation issue in boost::function, but I doubt it. g++ since 4.4 is getting more aggressive with its aliasing assumptions when optimizing.