This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals


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.

Attachment: CL_from_hell
Description: Text document

Attachment: patch_from_hell
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]