I remember when everyone was bashing PHP ( http://news.ycombinator.com/item?id=2066084 ) when they were bitten by the same issue. Then there were articles about this being maybe a GCC bug or at least design issue but people were still saying that it's PHP's duty to take care of this. I was always afraid that this might bite other environments too as the code that caused the issue in PHP was apparently taken from else…
Yes, astonishing how Oracle (and others) didn't check their code when this surfaced in PHP to determine if they are affected too.
PS I am pretty sure Oracle, at least on Sun, used SPARCworks compiler, not GCC, from linking C++ against their libs.