This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples] adding ENABLE_GIMPLE_CHECKING
- From: Diego Novillo <dnovillo at google dot com>
- To: Christopher Matthews <chrismatthews at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Aldy Hernandez <aldyh at redhat dot com>
- Date: Tue, 24 Jul 2007 20:10:36 -0400
- Subject: Re: [tuples] adding ENABLE_GIMPLE_CHECKING
- References: <5794c4c80707241308n38e78856k89349401d15fe742@mail.gmail.com>
On 7/24/07 4:08 PM, Christopher Matthews wrote:
> * configure.ac: Added support for ENABLE_GIMPLE_CHECKING and the
> --enable-checking=gimple flag.
> * config.in: Same.
> * configure: Regenerated.
No need to include generated files in the diff. They only add clutter.
Did you regenerate it with autoconf 2.59?
> +if test x$ac_gimple_checking != x ; then
> + AC_DEFINE(ENABLE_GIMPLE_CHECKING, 1,
> +[Define if you want extra checking performed during the gimplifction of trees.])
"Define if you want operations on GIMPLE (the basic data structure of
the high-level optimizers) to be checked for dynamic type safety at
runtime. This is moderately expensive."
The rest looks fine. Little by little we can convert the GIMPLE
optimizers to use 'if defined ENABLE_GIMPLE_CHECKING' wherever
ENABLE_TREE_CHECKING or ENABLE_CHECKING are used.