From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12437 invoked by alias); 21 Oct 2013 16:37:52 -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 12398 invoked by uid 48); 21 Oct 2013 16:37:50 -0000 From: "3dw4rd at verizon dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58781] Unicode strings broken in a strange way Date: Mon, 21 Oct 2013 16:37: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: UNCONFIRMED 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: 2013-10/txt/msg01519.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58781 --- Comment #1 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- Created attachment 31061 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31061&action=edit Busybox showing that the passed in string to the operator is OK. When I run the busybox I get: [ed@localhost ~]$ /home/ed/bin/bin/g++ -std=c++11 -o test_pr58781 test_pr58781.cpp [ed@localhost ~]$ ./test_pr58781 1 0x400cd0 0x1181 0x1 0x400cd8 0x8111 0x2 0x400ce0 0x20 0x1181 String literals work. I'll look at how decltype works. The result of these decltypes should be 'int'.