http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50410
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-10-17 21:20:25 UTC --- Created attachment 25534 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25534 Draft patch The attached patch should fix all issues; however, I think the error message text can be improved. Additionally, one should re-check the standard and add some more test cases.