Boost logo

Boost Users :

Subject: Re: [Boost-users] [Function][Bind] Strange problem with g++ 4.5
From: Peter Dimov (pdimov_at_[hidden])
Date: 2010-05-15 15:18:44


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net