diff options
author | Mikhail Maltsev <maltsevm@gmail.com> | 2015-10-29 16:28:40 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-10-29 10:28:40 -0600 |
commit | 7f71272e3b7a420febff64d3dd7ab58d5988ccaa (patch) | |
tree | 20274687b3bb5807ca00d4c1289357d741c5e059 /gcc/genconditions.c | |
parent | 21f0717ab16fe725e887536f5f90b7487b6431cd (diff) | |
download | gcc-7f71272e3b7a420febff64d3dd7ab58d5988ccaa.tar.gz |
[PATCH 6/9] ENABLE_CHECKING refactoring: generators
* genautomata.c: Use CHECKING_P instead of ENABLE_CHECKING.
* genconditions.c: Define CHECKING_P in the generated code.
* genextract.c: Use flag_checking in insn_extract.
* gengtype.c (main): Remove conditional compilation.
* gengtype.h: Likewise.
From-SVN: r229539
Diffstat (limited to 'gcc/genconditions.c')
-rw-r--r-- | gcc/genconditions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/genconditions.c b/gcc/genconditions.c index 001e58eff8a..7481ab41d5e 100644 --- a/gcc/genconditions.c +++ b/gcc/genconditions.c @@ -60,6 +60,8 @@ write_header (void) \n\ /* Do not allow checking to confuse the issue. */\n\ #undef ENABLE_CHECKING\n\ +#undef CHECKING_P\n\ +#define CHECKING_P 0\n\ #undef ENABLE_TREE_CHECKING\n\ #undef ENABLE_RTL_CHECKING\n\ #undef ENABLE_RTL_FLAG_CHECKING\n\ |