http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48972
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-05-12 12:39:32 UTC --- Created attachment 24238 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24238 Test case (In reply to comment #1) > For the diagnostic, the following untested patch should do. Well, almost. It fails for FORMAT/fmt=; I have to admit that I do not quite understand why only for e->expr_type == EXPR_CONSTANT a default-kind character is tested for in io.c's resolve_tag_format. Jerry, could you have a look? I am a bit lost.