This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61182] [4.9/4.10 Regression] Forming pointer to qualified function type
- From: "pdaouadi at aldebaran-robotics dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 May 2014 13:40:35 +0000
- Subject: [Bug c++/61182] [4.9/4.10 Regression] Forming pointer to qualified function type
- Auto-submitted: auto-generated
- References: <bug-61182-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61182
--- Comment #10 from pdaouadi@aldebaran-robotics.com ---
(In reply to Daniel KrÃgler from comment #9)
> I don' think that this specialization can - according to the language -
> remove const qualifiers of function types, because there is no
> const-qualifier to remove.
remove_const does not remove const from functions even in previous function of
gcc and I do not expect it to do that. I expect it to give the same type,
unchanged as it does with gcc < 4.9.