From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3015 invoked by alias); 7 Mar 2012 14:59:21 -0000 Received: (qmail 2999 invoked by uid 22791); 7 Mar 2012 14:59:20 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Mar 2012 14:59:07 +0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52521] [C++11] user defined literals and order of declaration Date: Wed, 07 Mar 2012 14:59: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Status Last reconfirmed CC Target Milestone Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-03/txt/msg00633.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52521 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-03-07 CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org Target Milestone|--- |4.7.0 Ever Confirmed|0 |1 --- Comment #1 from Jakub Jelinek 2012-03-07 14:58:21 UTC --- The only mail I found about the mangling was http://communities.mentor.com/community/cs/archives/cxx-abi-dev/msg02351.html but the ABI document at least on the web hasn't been updated. If li is the operator name, then I'd think instead of _Z4li_wPKc we should mangle it as _Zli2_wPKc - i.e. "li" followed by pair would be (and have support for this in the demangler). Jason, can this be resolved on cxx-abi-dev and for 4.7.0-RC2? Sounds like a blocker to me for 4.7.0, releasing udlit support which is mangled incorrectly would be very bad, especially when it clashes with user function.s