This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Enable tree-browser with --enable-checking
Zack Weinberg wrote:
Bryce McKinlay <mckinlay@redhat.com> writes:
Sounds good to me. Here is the patch. OK to commit?
I don't believe putting it in OBJS-common will work, because nothing
refers to the symbols it exports, so it won't get pulled in from
libbackend.a.
Doh, right. How about this one?
Bryce
2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
* Makefile.in: Enable tree-browser for all builds.
(BACKEND): Remove @TREEBROWSER@.
* configure.ac: Remove TREEBROWSER definition.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1287
diff -u -r1.1287 Makefile.in
--- Makefile.in 25 May 2004 20:16:52 -0000 1.1287
+++ Makefile.in 28 May 2004 19:30:20 -0000
@@ -913,7 +913,7 @@
OBJS-onestep = libbackend.o $(OBJS-archive)
-BACKEND = main.o @TREEBROWSER@ libbackend.a $(CPPLIB)
+BACKEND = main.o tree-browser.o libbackend.a $(CPPLIB)
# Files to be copied away after each stage in building.
STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.39
diff -u -r2.39 configure.ac
--- configure.ac 27 May 2004 19:47:36 -0000 2.39
+++ configure.ac 28 May 2004 19:30:20 -0000
@@ -425,12 +425,9 @@
AC_DEFINE(ENABLE_TREE_CHECKING, 1,
[Define if you want all operations on trees (the basic data
structure of the front ends) to be checked for dynamic type safety
- at runtime. This is moderately expensive. The tree browser debugging
- routines will also be enabled by this option.
+ at runtime. This is moderately expensive.
])
- TREEBROWSER=tree-browser.o
fi
-AC_SUBST(TREEBROWSER)
if test x$ac_rtl_checking != x ; then
AC_DEFINE(ENABLE_RTL_CHECKING, 1,
[Define if you want all operations on RTL (the basic data structure