Okay, the bug is actually fixed this time, and the testcase provided has been added to the libstdc++ testsuite. The fix will ship as part of 3.1. Sorry for the mistake. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2054