/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Sep 2015 08:39:47 +0000 (08:39 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Sep 2015 08:39:47 +0000 (08:39 +0000)
commita384d8df175476f4eb7d6fb0881bbe50c5fb4113
treefe4cdc38ad1d9ae22dbdec61b95b211090f74d89
parent3600cfc38c4a17b3678d03312ba9d3f6dcb0eff1
/cp
2015-09-01  Paolo Carlini  <paolo.carlini@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.carlini@oracle.com>

PR c++/61753
* g++.dg/other/pr61753.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227361 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr61753.C [new file with mode: 0644]