http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170
--- Comment #6 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-10-28 14:44:54 UTC --- "paolo.carlini at oracle dot com" <gcc-bugzi...@gcc.gnu.org> writes: > Thanks Dodji for working on this. Please remember to resolve PR46162 > too (very likely a duplicate) while you are at it... Ah. Thanks for the head-up. That one felt below my radar. Yes, I believe it's the same problem and the patch fixes it for me. I have updated the patch with this testcase [slightly modified to avoid including a standard library header] and I will attach it to this bug right away. I don't commit right now b/c I am on the road with a jumpy connectivity. Btw, the patch got accepted at http://gcc.gnu.org/ml/gcc-patches/2010-10/msg02387.html. I still need to test it against the branches and commit it there if the tests succeed.