From: Martin Liska Date: Mon, 29 Feb 2016 15:40:20 +0000 (+0100) Subject: Poison ENABLE_CHECKING macro X-Git-Tag: basepoints/gcc-7~690 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56c091abef531dbeac44cd62bd9e6b0636b16442;p=thirdparty%2Fgcc.git Poison ENABLE_CHECKING macro * system.h: Poison ENABLE_CHECKING macro. From-SVN: r233817 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c7e14961a53..966e06dd761e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -8,6 +8,10 @@ (eliminate_plus_minus_pair): Use ops_equal_values_p (repropagate_negates): Do not use get_unary_op here. +2016-02-29 Martin Liska + + * system.h: Poison ENABLE_CHECKING macro. + 2016-02-29 Martin Liska * hsa-gen.c (gen_body_from_gimple): Dump only if TDF_DETAILS diff --git a/gcc/system.h b/gcc/system.h index 445073c5cae7..cb545410a158 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -1014,6 +1014,10 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; #undef rindex #pragma GCC poison bcopy bzero bcmp rindex +/* Poison ENABLE_CHECKING macro that should be replaced with + 'if (flag_checking)', or with CHECKING_P macro. */ +#pragma GCC poison ENABLE_CHECKING + #endif /* GCC >= 3.0 */ /* This macro allows casting away const-ness to pass -Wcast-qual