http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60469
--- Comment #5 from Andi Kleen <andi-gcc at firstfloor dot org> --- You're right. It works in C++. That's similar to my earlier patch, but I didn't comment out the other check like you did. If commenting out the check work it would seem right to me. Can you post it as a RFC?