This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]