[Bug c++/106893] [12/13 Regression] auto deduces wrong type for function pointer
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 9 10:36:24 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106893
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Started with r12-1270:
c++: alias member template [PR100102]
Patrick already fixed the primary cause of this bug. But while I was
looking at this testcase I noticed that with the qualified name k::o we
ended up with a plain FUNCTION_DECL, whereas without the k:: we got a
BASELINK. There seems to be no good reason not to return the BASELINK
in this case as well.
More information about the Gcc-bugs
mailing list