------- Comment #5 from simartin at gcc dot gnu dot org  2009-07-26 16:05 
-------
Subject: Bug 40749

Author: simartin
Date: Sun Jul 26 16:05:22 2009
New Revision: 150099

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150099
Log:
gcc/cp/

2009-07-26  Simon Martin  <simar...@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  <simar...@users.sourceforge.net>

        PR c++/40749
        * g++.dg/warn/Wreturn-type-6.C: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/warn/Wreturn-type-6.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/decl.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40749

Reply via email to