This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Warn on undefined loop exit
- From: Marek Polacek <polacek at redhat dot com>
- To: Andrew Stubbs <ams at codesourcery dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 19 Nov 2014 17:39:38 +0100
- Subject: Re: [patch] Warn on undefined loop exit
- Authentication-results: sourceware.org; auth=none
- References: <545A9A86 dot 1070008 at codesourcery dot com> <CAFiYyc3PLqikcS6DzTP0DLOxApYqsaYMvCGiP3O_rbdrPsAPPw at mail dot gmail dot com> <54652425 dot 9070104 at codesourcery dot com> <546CC62B dot 1010109 at codesourcery dot com>
On Wed, Nov 19, 2014 at 04:32:43PM +0000, Andrew Stubbs wrote:
> + if (warning_at (gimple_location (elt->stmt),
> + OPT_Waggressive_loop_optimizations,
> + "Loop exit may only be reached after undefined behaviour."))
Warnings should start with a lowercase and should be without
a fullstop at the end.
Marek