This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52521] [C++11] user defined literals and order of declaration
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Mar 2012 20:16:48 +0000
- Subject: [Bug c++/52521] [C++11] user defined literals and order of declaration
- Auto-submitted: auto-generated
- References: <bug-52521-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52521
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-03-07 20:16:48 UTC ---
Author: jason
Date: Wed Mar 7 20:16:16 2012
New Revision: 185077
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185077
Log:
PR c++/52521
* mangle.c (write_literal_operator_name): The length comes after the
operator prefix.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/udlit-mangle.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/mangle.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog