------- Comment #13 from pluto at agmk dot net  2010-04-20 12:20 -------
(In reply to comment #5)
> (In reply to comment #4)
> > during analysis the boost::thread::start_thread() function which causes
> > invalid writes detected by valgrind i've noticed that gcc-4.5 generates
> > bigger and more complex code of this function with few more lock'ed opcodes.
> > afaics gcc-4.5 produces some mess for boost::shared_ptr.
> > could please someone look at this? it may be a missed optimization or other
> > bug.
> 
> It seems to be a completely different implementation.

it's a missed inlining optimization in 4.5.
i'll fill a separate PR for this issue.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39979

Reply via email to