[Bug c++/52521] [C++11] user defined literals and order of declaration

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 7 14:59:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52521

Jakub Jelinek <jakub at gcc dot gnu.org> 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 <jakub at gcc dot gnu.org> 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 <length,ID> pair would be <operator-name> (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



More information about the Gcc-bugs mailing list