https://bugs.llvm.org/show_bug.cgi?id=48655

            Bug ID: 48655
           Summary: templated class method call is emitted with a
                    different argument type than it is actually called
                    with
           Product: clang
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Created attachment 24339
  --> https://bugs.llvm.org/attachment.cgi?id=24339&action=edit
testcase-templated-method.cpp

The class method G<>::ccc is called with the object G<CO> and argument G<bool>.

However, the resulting object module has G<CO> as argument.

> $ nm testcase-templated-method.o | grep ccc | c++filt 
>                  U void G<CO>::ccc<bool>(G const&<CO>)

G<>::ccc is not called with G<CO>, so the above symbol should not be required.


llvm-devel-12.0.d20201027
FreeBSD 12.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to