public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47335] New: "sorry, unimplemented: mangling overload"
@ 2011-01-17 21:15 zeratul976 at hotmail dot com
  2011-01-17 22:26 ` [Bug c++/47335] [C++0x] " paolo.carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zeratul976 at hotmail dot com @ 2011-01-17 21:15 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: "sorry, unimplemented: mangling overload"
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zeratul976@hotmail.com


For the following code:

struct A
{
    template <typename T>
    int f(T);
};

template <typename T>
auto g(T x) -> decltype(A().f(x));

void h() { g(0); }

gcc trunk gives the error:

test.cpp: In function ‘void h()’:
test.cpp:10: sorry, unimplemented: mangling overload

As far as I can tell, this is valid C++0x code.

Are there any plans to implement this? I wasn't able to find an existing bug
about it.


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

* [Bug c++/47335] [C++0x] "sorry, unimplemented: mangling overload"
  2011-01-17 21:15 [Bug c++/47335] New: "sorry, unimplemented: mangling overload" zeratul976 at hotmail dot com
@ 2011-01-17 22:26 ` paolo.carlini at oracle dot com
  2011-05-23 16:20 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-01-17 22:26 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
            Summary|"sorry, unimplemented:      |[C++0x] "sorry,
                   |mangling overload"          |unimplemented: mangling
                   |                            |overload"

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-17 21:42:56 UTC ---
Let's ask Jason. In case, not earlier than 4.7.0, I suppose...


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

* [Bug c++/47335] [C++0x] "sorry, unimplemented: mangling overload"
  2011-01-17 21:15 [Bug c++/47335] New: "sorry, unimplemented: mangling overload" zeratul976 at hotmail dot com
  2011-01-17 22:26 ` [Bug c++/47335] [C++0x] " paolo.carlini at oracle dot com
@ 2011-05-23 16:20 ` jason at gcc dot gnu.org
  2011-12-10 19:55 ` dave at boostpro dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2011-05-23 16:20 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lenx99 at yahoo dot com.cn

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-23 15:46:49 UTC ---
*** Bug 49044 has been marked as a duplicate of this bug. ***


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

* [Bug c++/47335] [C++0x] "sorry, unimplemented: mangling overload"
  2011-01-17 21:15 [Bug c++/47335] New: "sorry, unimplemented: mangling overload" zeratul976 at hotmail dot com
  2011-01-17 22:26 ` [Bug c++/47335] [C++0x] " paolo.carlini at oracle dot com
  2011-05-23 16:20 ` jason at gcc dot gnu.org
@ 2011-12-10 19:55 ` dave at boostpro dot com
  2011-12-10 20:32 ` redi at gcc dot gnu.org
  2012-01-02 17:51 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: dave at boostpro dot com @ 2011-12-10 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

Dave Abrahams <dave at boostpro dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dave at boostpro dot com

--- Comment #3 from Dave Abrahams <dave at boostpro dot com> 2011-12-10 19:20:24 UTC ---
I believe this should be a duplicate of bug 48051, not bug 49044... as that one
is closed solving just the ICE problem.


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

* [Bug c++/47335] [C++0x] "sorry, unimplemented: mangling overload"
  2011-01-17 21:15 [Bug c++/47335] New: "sorry, unimplemented: mangling overload" zeratul976 at hotmail dot com
                   ` (2 preceding siblings ...)
  2011-12-10 19:55 ` dave at boostpro dot com
@ 2011-12-10 20:32 ` redi at gcc dot gnu.org
  2012-01-02 17:51 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2011-12-10 20:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-10 19:54:47 UTC ---
(In reply to comment #3)
> I believe this should be a duplicate of bug 48051, not bug 49044... as that one
> is closed solving just the ICE problem.

bug 49044 is closed as a dup of *this* bug, but this may well be the same issue
as bug 48051 - Jason, any reason to keep both open?


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

* [Bug c++/47335] [C++0x] "sorry, unimplemented: mangling overload"
  2011-01-17 21:15 [Bug c++/47335] New: "sorry, unimplemented: mangling overload" zeratul976 at hotmail dot com
                   ` (3 preceding siblings ...)
  2011-12-10 20:32 ` redi at gcc dot gnu.org
@ 2012-01-02 17:51 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-01-02 17:51 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-01-02 17:48:45 UTC ---
Closing as duplicate of 48051. If I'm doing something wrong, please re-open,
and sorry ;)

*** This bug has been marked as a duplicate of bug 48051 ***


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

end of thread, other threads:[~2012-01-02 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-17 21:15 [Bug c++/47335] New: "sorry, unimplemented: mangling overload" zeratul976 at hotmail dot com
2011-01-17 22:26 ` [Bug c++/47335] [C++0x] " paolo.carlini at oracle dot com
2011-05-23 16:20 ` jason at gcc dot gnu.org
2011-12-10 19:55 ` dave at boostpro dot com
2011-12-10 20:32 ` redi at gcc dot gnu.org
2012-01-02 17:51 ` paolo.carlini at oracle dot com

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).