From e138bdcb219014e91c3836f2bd7580cfcb2f688c Mon Sep 17 00:00:00 2001 From: law Date: Thu, 29 Oct 2015 16:28:40 +0000 Subject: [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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229539 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gengtype.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gcc/gengtype.c') diff --git a/gcc/gengtype.c b/gcc/gengtype.c index 8c5c36d384e..98ee32a8931 100644 --- a/gcc/gengtype.c +++ b/gcc/gengtype.c @@ -158,9 +158,6 @@ size_t num_lang_dirs; BASE_FILES entry for each language. */ static outf_p *base_files; - - -#if ENABLE_CHECKING /* Utility debugging function, printing the various type counts within a list of types. Called through the DBGPRINT_COUNT_TYPE macro. */ void @@ -222,7 +219,6 @@ dbgprint_count_type_at (const char *fil, int lin, const char *msg, type_p t) fprintf (stderr, "@@%%@@ %d undefined types\n", nb_undefined); fprintf (stderr, "\n"); } -#endif /* ENABLE_CHECKING */ /* Scan the input file, LIST, and determine how much space we need to store strings in. Also, count the number of language directories @@ -5188,7 +5184,6 @@ main (int argc, char **argv) parse_program_options (argc, argv); -#if ENABLE_CHECKING if (do_debug) { time_t now = (time_t) 0; @@ -5196,7 +5191,6 @@ main (int argc, char **argv) DBGPRINTF ("gengtype started pid %d at %s", (int) getpid (), ctime (&now)); } -#endif /* ENABLE_CHECKING */ /* Parse the input list and the input files. */ DBGPRINTF ("inputlist %s", inputlist); -- cgit v1.2.1