This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16174] [3.4/3.5 Regression] deducing top-level consts
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2004 12:39:29 -0000
- Subject: [Bug c++/16174] [3.4/3.5 Regression] deducing top-level consts
- References: <20040624103533.16174.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nathan at gcc dot gnu dot org 2004-06-24 12:39 -------
This is a SFINAE failure. we deduce a call requiring a complete A<const K<int>>
in a non-deduced context (the default parameter). We then do the final
tsubst of the function type, to make sure no bad tstubsting is happening,
but don't propagate the 'do not complain' flag to complete_type.
I suspect my recent patches have fixed a bug where we didn't get as far as we
do now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16174