decl.c
396 KB
-
re PR c++/40749 (g++ doesnt report missing return if return is of type const <type>) · c2600c67
gcc/cp/ 2009-07-26 Simon Martin <simartin@users.sourceforge.net> PR c++/40749 * decl.c (grokdeclarator): Do not set TREE_NO_WARNING for functions with a qualified return type. gcc/testsuite/ 2007-07-26 Simon Martin <simartin@users.sourceforge.net> PR c++/40749 * g++.dg/warn/Wreturn-type-6.C: New test. From-SVN: r150097
Simon Martin committed