Bug 11869 - call_expr cannot be mangled due to a defect in the C++ ABI
Summary: call_expr cannot be mangled due to a defect in the C++ ABI
Status: RESOLVED DUPLICATE of bug 6424
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-09 16:26 UTC by Eelis
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eelis 2003-08-09 16:26:26 UTC
GCC fails to compile the following snippet:

template <int> struct ItT {};
template <typename> int f ();
template <typename T> ItT<sizeof(f<T>())> g ();
void h () { g<int>(); }

It says:

t.cpp:4: sorry, unimplemented: call_expr cannot be mangled due to a defect in
the C++ ABI

Clearly this bug is known (by whoever wrote that error message), but currently
there is no entry for it in GCC Bugzilla so that's why I'm reporting it.

I'm using GCC version 3.4 20030723
Comment 1 Andrew Pinski 2003-08-09 16:32:07 UTC
There is a bug, PR 6424. Closing as a dup of bug 6424.

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