summaryrefslogtreecommitdiff
path: root/gcc/gengtype.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-29 16:28:40 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-29 16:28:40 +0000
commite138bdcb219014e91c3836f2bd7580cfcb2f688c (patch)
tree20274687b3bb5807ca00d4c1289357d741c5e059 /gcc/gengtype.c
parent580efa23d6f3278e512d3586993fda2e81f6b146 (diff)
downloadgcc-e138bdcb219014e91c3836f2bd7580cfcb2f688c.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengtype.c')
-rw-r--r--gcc/gengtype.c6
1 files changed, 0 insertions, 6 deletions
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);