diff options
author | Janis Johnson <janis187@us.ibm.com> | 2002-05-07 22:52:19 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2002-05-07 22:52:19 +0000 |
commit | 4c76f8561ebcd30691a5cacd3f622f5b1dfce69e (patch) | |
tree | 752beb8a7dc38d8612cad2672ca57166381db4bb /gcc/configure.in | |
parent | 44a147ad2ee5436c0f2b1bb95e3de61cce8c226e (diff) | |
download | gcc-4c76f8561ebcd30691a5cacd3f622f5b1dfce69e.zip gcc-4c76f8561ebcd30691a5cacd3f622f5b1dfce69e.tar.gz gcc-4c76f8561ebcd30691a5cacd3f622f5b1dfce69e.tar.bz2 |
config.in (ENABLE_RTL_FLAG_CHECKING): New.
* config.in (ENABLE_RTL_FLAG_CHECKING): New.
* configure.in (ac_rtlflag_checking): New.
* doc/install.texi (--enable-checking): Document RTL flag checking.
* configure: Regenerated.
From-SVN: r53272
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index f0c2fe1..e47b668 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -187,15 +187,17 @@ AC_ARG_ENABLE(checking, [ --enable-checking[=LIST] enable expensive run-time checks. With LIST, enable only specific categories of checks. - Categories are: misc,tree,rtl,gc,gcac; default - is misc,tree,gc], + Categories are: misc,tree,rtl,rtlflag,gc,gcac; + default is misc,tree,gc,rtlflag], [ac_checking= ac_tree_checking= ac_rtl_checking= +ac_rtlflag_checking= ac_gc_checking= ac_gc_always_collect= case "${enableval}" in -yes) ac_checking=1 ; ac_tree_checking=1 ; ac_gc_checking=1 ;; +yes) ac_checking=1 ; ac_tree_checking=1 ; ac_gc_checking=1 ; + ac_rtlflag_checking=1 ;; no) ;; *) IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$IFS," set fnord $enableval; shift @@ -205,6 +207,7 @@ no) ;; case $check in misc) ac_checking=1 ;; tree) ac_tree_checking=1 ;; + rtlflag) ac_rtlflag_checking=1 ;; rtl) ac_rtl_checking=1 ;; gc) ac_gc_checking=1 ;; gcac) ac_gc_always_collect=1 ;; @@ -215,7 +218,7 @@ no) ;; esac ], # Enable some checks by default for development versions of GCC -[ac_checking=1; ac_tree_checking=1; ac_gc_checking=1;]) +[ac_checking=1; ac_tree_checking=1; ac_gc_checking=1; ac_rtlflag_checking=1;]) if test x$ac_checking != x ; then AC_DEFINE(ENABLE_CHECKING, 1, [Define if you want more run-time sanity checks. This one gets a grab @@ -233,6 +236,12 @@ if test x$ac_rtl_checking != x ; then of the optimizer and back end) to be checked for dynamic type safety at runtime. This is quite expensive.]) fi +if test x$ac_rtlflag_checking != x ; then + AC_DEFINE(ENABLE_RTL_FLAG_CHECKING, 1, +[Define if you want RTL flag accesses to be checked against the RTL + codes that are supported for each access macro. This is relatively + cheap.]) +fi if test x$ac_gc_checking != x ; then AC_DEFINE(ENABLE_GC_CHECKING, 1, [Define if you want the garbage collector to do object poisoning and |