http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50976
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011-11-09 CC| |jason at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-09 19:08:29 UTC --- Reproduced with a cross-compiler to x86_64-w64-mingw32. The problem is that on that target, size_type_node and long_long_unsigned_type_node are the same type, so check_literal_operator_args sees a size_type_node argument without a string argument and returns false even though the next if would allow it.