This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 6/9] ENABLE_CHECKING refactoring: generators
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Mikhail Maltsev <maltsevm at gmail dot com>
- Cc: gcc-patches mailing list <gcc-patches at gcc dot gnu dot org>, Jeff Law <law at redhat dot com>
- Date: Tue, 6 Oct 2015 14:56:58 +0200
- Subject: Re: [PATCH 6/9] ENABLE_CHECKING refactoring: generators
- Authentication-results: sourceware.org; auth=none
- References: <56130763 dot 4070206 at gmail dot com> <561308F8 dot 20805 at gmail dot com>
On Tue, Oct 6, 2015 at 1:34 AM, Mikhail Maltsev <maltsevm@gmail.com> wrote:
> gcc/ChangeLog:
>
> 2015-10-05 Mikhail Maltsev <maltsevm@gmail.com>
>
> * genautomata.c: Use CHECKING_P instead of ENABLE_CHECKING.
> * genconditions.c: Define CHECKING_P in generated code.
> * genextract.c: Use CHECKING_P instead of ENABLE_CHECKING.
> * gengtype.c (main): Likewise.
> * gengtype.h: Likewise.
The generators should simply unconditionally check (not in generated
files, of course).
And the generated code parts should use flag_checking.
Richard.
>