https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61753
--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Tue Sep 1 08:39:47 2015 New Revision: 227361 URL: https://gcc.gnu.org/viewcvs?rev=227361&root=gcc&view=rev Log: /cp 2015-09-01 Paolo Carlini <paolo.carl...@oracle.com> PR c++/61753 * decl.c (smallest_type_quals_location): New. (check_special_function_return_type): Use the latter; add int and const location_t* parameters. (grokdeclarator): Adjust check_special_function_return_type call. /testsuite 2015-09-01 Paolo Carlini <paolo.carl...@oracle.com> PR c++/61753 * g++.dg/other/pr61753.C: New. Added: trunk/gcc/testsuite/g++.dg/other/pr61753.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog