This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/4872: missed warning (no return) -- regression from 2.95


Synopsis: missed warning (no return) -- regression from 2.95

Responsible-Changed-From-To: unassigned->jason
Responsible-Changed-By: jason
Responsible-Changed-When: Sat Feb  2 00:33:09 2002
Responsible-Changed-Why:
    mine
State-Changed-From-To: analyzed->closed
State-Changed-By: jason
State-Changed-When: Sat Feb  2 00:33:09 2002
State-Changed-Why:
    fixed for 3.1 by
    
    2002-02-01  Jason Merrill  <jason@redhat.com>
    
            PR c++/4872
            * decl.c (finish_function): Warn about a non-void function with
            no return statement and no abnormal exit.
            * cp-tree.h (struct cp_language_function): Add returns_abnormally.
            (current_function_returns_abnormally): New macro.
            * call.c (build_call): Set it.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4872


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]