re PR c++/36760 (Simple std::bind use causes warnings with -Wextra)
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 9 Jul 2008 20:52:45 +0000 (20:52 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 9 Jul 2008 20:52:45 +0000 (20:52 +0000)
commit3d7c63cf96836d9894169c11aeb25fc9cbcee827
tree013664b85b80ec19e86e0c4a03f09d4e8c65d201
parent256f27f13cbdfdfc5143b422c2b4a11f234a56e8
re PR c++/36760 (Simple std::bind use causes warnings with -Wextra)

/cp
2008-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/36760
* pt.c (tsubst_function_type): Remove warning for type qualifiers
on function return type.

/testsuite
2008-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/36760
* g++.dg/warn/Wreturn-type-4.C: Adjust.

From-SVN: r137672
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wreturn-type-4.C