From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18312 invoked by alias); 27 Jun 2014 21:03:54 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17767 invoked by uid 48); 27 Jun 2014 21:03:49 -0000 From: "3dw4rd at verizon dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/59867] Template string literal loses first symbol Date: Fri, 27 Jun 2014 21:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 3dw4rd at verizon dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg02252.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59867 --- Comment #13 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Created attachment 33020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33020&action=edit Patch 58781, 59867, 60249, ... I think I got it. Don't mess with the token stream. PR C++/58781 - Unicode strings broken in a strange way PR C++/59867 - Template string literal loses first symbol PR C++/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).