aboutsummaryrefslogtreecommitdiff
path: root/gcc/gengtype.h
diff options
context:
space:
mode:
authorMikhail Maltsev <maltsevm@gmail.com>2015-10-29 16:28:40 +0000
committerJeff Law <law@gcc.gnu.org>2015-10-29 10:28:40 -0600
commit7f71272e3b7a420febff64d3dd7ab58d5988ccaa (patch)
tree20274687b3bb5807ca00d4c1289357d741c5e059 /gcc/gengtype.h
parent21f0717ab16fe725e887536f5f90b7487b6431cd (diff)
downloadgcc-7f71272e3b7a420febff64d3dd7ab58d5988ccaa.zip
gcc-7f71272e3b7a420febff64d3dd7ab58d5988ccaa.tar.gz
gcc-7f71272e3b7a420febff64d3dd7ab58d5988ccaa.tar.bz2
[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/gengtype.h')
-rw-r--r--gcc/gengtype.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/gengtype.h b/gcc/gengtype.h
index 83f3632..b8ce7ce 100644
--- a/gcc/gengtype.h
+++ b/gcc/gengtype.h
@@ -492,17 +492,12 @@ extern int do_dump; /* (-d) program argument. */
gengtype source code). Only useful to debug gengtype itself. */
extern int do_debug; /* (-D) program argument. */
-#if ENABLE_CHECKING
#define DBGPRINTF(Fmt,...) do {if (do_debug) \
fprintf (stderr, "%s:%d: " Fmt "\n", \
lbasename (__FILE__),__LINE__, ##__VA_ARGS__);} while (0)
void dbgprint_count_type_at (const char *, int, const char *, type_p);
#define DBGPRINT_COUNT_TYPE(Msg,Ty) do {if (do_debug) \
dbgprint_count_type_at (__FILE__, __LINE__, Msg, Ty);}while (0)
-#else
-#define DBGPRINTF(Fmt,...) do {/*nodbgrintf*/} while (0)
-#define DBGPRINT_COUNT_TYPE(Msg,Ty) do{/*nodbgprint_count_type*/}while (0)
-#endif /*ENABLE_CHECKING */
#define FOR_ALL_INHERITED_FIELDS(TYPE, FIELD_VAR) \
for (type_p sub = (TYPE); sub; sub = sub->u.s.base_class) \