public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13241] New: Incorrect mangling of template arguments
@ 2003-11-30 18:01 nathan at gcc dot gnu dot org
  2003-11-30 19:11 ` [Bug c++/13241] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: nathan at gcc dot gnu dot org @ 2003-11-30 18:01 UTC (permalink / raw)
  To: gcc-bugs

extern "C" void Foo ();
namespace NMS 
{
  extern "C" int V;
}

template <void (*)()> struct S {};
template <int *> struct T {};

void f (S<Foo>){} // should be _Z1f1SIXadL_Z3FooEEE

void g (T<&NMS::V>){} // should be _Z1g1TIXadL_Z1VEEE

-- 
           Summary: Incorrect mangling of template arguments
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nathan at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: -
  GCC host triplet: -
GCC target triplet: -


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-15 11:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-30 18:01 [Bug c++/13241] New: Incorrect mangling of template arguments nathan at gcc dot gnu dot org
2003-11-30 19:11 ` [Bug c++/13241] " pinskia at gcc dot gnu dot org
2003-12-08 13:50 ` nathan at gcc dot gnu dot org
2003-12-15 11:53 ` [Bug c++/13241] [ABI] " nathan at gcc dot gnu dot org
2003-12-15 11:57 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).