[Bug c++/79064] Cannot overload member function templates on type of literal
clyon at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 19 08:56:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79064
Christophe Lyon <clyon at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clyon at gcc dot gnu.org
--- Comment #6 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Also seen on arm* targets:
/gcc/testsuite/g++.dg/template/overload15.C:14:10: error: call of overloaded
'f<0>(char (*)[1])' is ambiguous
/gcc/testsuite/g++.dg/template/overload15.C:15:10: error: no matching function
for call to 'f<0>(char (*)[7])'
Unlike you, I do see the new test pass on aarch64, except if I also use
-mabi=ilp32. Is your aarch64-suse-linux-gnu configured with ilp32 by default?
More information about the Gcc-bugs
mailing list