]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Poison ENABLE_CHECKING macro
authorMartin Liska <mliska@suse.cz>
Mon, 29 Feb 2016 15:40:20 +0000 (16:40 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 29 Feb 2016 15:40:20 +0000 (15:40 +0000)
* system.h: Poison ENABLE_CHECKING macro.

From-SVN: r233817

gcc/ChangeLog
gcc/system.h

index 9c7e14961a537c7808b7325985eed55cd6db7116..966e06dd761e4db97ef3d38aaac54c97e029a7f4 100644 (file)
@@ -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  <mliska@suse.cz>
+
+       * system.h: Poison ENABLE_CHECKING macro.
+
 2016-02-29  Martin Liska  <mliska@suse.cz>
 
        * hsa-gen.c (gen_body_from_gimple): Dump only if TDF_DETAILS
index 445073c5cae75f9b510ba13f6e46ebd451b6c77e..cb545410a15899ed4f5ebf1919f90ebdb415b36a 100644 (file)
@@ -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