This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals
- From: "3dw4rd at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 Jun 2014 13:28:24 +0000
- Subject: [Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals
- Auto-submitted: auto-generated
- References: <bug-60249-4 at http dot gcc dot gnu dot org/bugzilla/>
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.