public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: jason@gcc.gnu.org To: bh@techhouse.brown.edu, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jason@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: c++/4872: missed warning (no return) -- regression from 2.95 Date: Sat, 02 Feb 2002 00:33:00 -0000 [thread overview] Message-ID: <20020202083310.3067.qmail@sources.redhat.com> (raw) 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
next reply other threads:[~2002-02-02 8:33 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-02 0:33 jason [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-11-05 4:46 lerdsuwa 2001-11-05 3:18 lerdsuwa 2001-11-02 8:14 bh
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020202083310.3067.qmail@sources.redhat.com \ --to=jason@gcc.gnu.org \ --cc=bh@techhouse.brown.edu \ --cc=gcc-bugs@gcc.gnu.org \ --cc=gcc-gnats@gcc.gnu.org \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).