http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30112
--- Comment #7 from Jason Merrill jason at gcc dot gnu.org 2011-07-22
19:59:51 UTC ---
Author: jason
Date: Fri Jul 22 19:59:49 2011
New Revision: 176650
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=176650
Log:
PR c++/30112
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30112
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30112
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC||jason at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30112
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30112
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
CC|jason at redhat dot com |
--- Comment #5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30112
--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com 2011-07-21
15:49:16 UTC ---
Agreed (indeed, I saw both in Bugzilla but never figured out which one you
preferred ;)
--- Comment #3 from marc dot glisse at normalesup dot org 2007-02-22 16:20
---
Actually, the patch is not sufficient. With the patch, it works if the function
is in the global namespace or the pragma is before the declaration (or both),
but not for a function in the std namespace where
--- Comment #2 from marc dot glisse at normalesup dot org 2007-01-08 14:27
---
Created an attachment (id=12870)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12870action=view)
patch to call the renaming function in any namespace
--
--- Comment #1 from marc dot glisse at normalesup dot org 2006-12-12 18:40
---
In gcc/cp/decl.c, I see:
if (global_scope_p (current_binding_level))
asmspec_tree = maybe_apply_renaming_pragma (decl, asmspec_tree);
So if I understand correctly (it is the first time I have a look