https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249
--- Comment #6 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- On 06/27/2014 05:39 PM, paolo.carlini at oracle dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249 > > --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> --- > Patch looks *great*. If it works, please send it to mailing list ASAP. > I think I finally got these weird user-defined string literal bugs. "Don't cross the streams!" Dr. Egon Spengler PR C++/58781 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781> - Unicode strings broken in a strange way PR C++/59867 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867> - Template string literal loses first symbol PR C++/60249 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249> - Compiler goes into semi-infinite loop with wrong usage of user defined string literals Plus I fixed an misleading error message for string literal operator templates (not available in C++11). Built and tested clean on x86_64-linux. OK? I would also like to apply this to 4.9.