[Bug c++/11869] New: call_expr cannot be mangled due to a defect in the C++ ABI

gccbugs at contacts dot eelis dot net gcc-bugzilla@gcc.gnu.org
Sat Aug 9 16:26:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: call_expr cannot be mangled due to a defect in the C++
                    ABI
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gccbugs at contacts dot eelis dot net
                CC: gcc-bugs at gcc dot gnu dot org

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



More information about the Gcc-bugs mailing list