Commit 8d2ccbd2 by Sebastian Pop Committed by Sebastian Pop

remove tree-browser

	* Makefile.in: Remove use of TREEBROWSER.
	* config.in: Regenerated.
	* configure: Regenerated.
	* configure.ac: Remove definition of TREEBROWSER.
	* tree-browser.c: Removed.
	* tree-browser.def: Removed.

From-SVN: r226214
parent 33df361a
2015-07-25 Sebastian Pop <s.pop@samsung.com>
* Makefile.in: Remove use of TREEBROWSER.
* config.in: Regenerated.
* configure: Regenerated.
* configure.ac: Remove definition of TREEBROWSER.
* tree-browser.c: Removed.
* tree-browser.def: Removed.
2015-07-25 Sebastian Pop <s.pop@samsung.com>
* graphite-scop-detection.c: Include gimple-pretty-print.h.
(stmt_simple_for_scop_p): Print when a stmt is not handled in
Graphite.
......
......@@ -1525,7 +1525,7 @@ OBJS-libcommon-target = $(common_out_object_file) prefix.o params.o \
ALL_HOST_FRONTEND_OBJS = $(foreach v,$(CONFIG_LANGUAGES),$($(v)_OBJS))
ALL_HOST_BACKEND_OBJS = $(GCC_OBJS) $(OBJS) $(OBJS-libcommon) \
$(OBJS-libcommon-target) @TREEBROWSER@ main.o c-family/cppspec.o \
$(OBJS-libcommon-target) main.o c-family/cppspec.o \
$(COLLECT2_OBJS) $(EXTRA_GCC_OBJS) $(GCOV_OBJS) $(GCOV_DUMP_OBJS) \
$(GCOV_TOOL_OBJS) $(GENGTYPE_OBJS) gcc-ar.o gcc-nm.o gcc-ranlib.o \
lto-wrapper.o collect-utils.o
......@@ -1534,7 +1534,7 @@ ALL_HOST_BACKEND_OBJS = $(GCC_OBJS) $(OBJS) $(OBJS-libcommon) \
# compilation or not.
ALL_HOST_OBJS = $(ALL_HOST_FRONTEND_OBJS) $(ALL_HOST_BACKEND_OBJS)
BACKEND = libbackend.a main.o @TREEBROWSER@ libcommon-target.a libcommon.a \
BACKEND = libbackend.a main.o libcommon-target.a libcommon.a \
$(CPPLIB) $(LIBDECNUMBER)
# This is defined to "yes" if Tree checking is enabled, which roughly means
......
......@@ -194,8 +194,7 @@
/* 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. */
moderately expensive. */
#ifndef USED_FOR_TARGET
#undef ENABLE_TREE_CHECKING
#endif
......
......@@ -781,7 +781,6 @@ valgrind_command
valgrind_path_defines
valgrind_path
TREECHECKING
TREEBROWSER
nocommon_flag
noexception_flags
warn_cxxflags
......@@ -7085,7 +7084,6 @@ if test x$ac_tree_checking != x ; then
$as_echo "#define ENABLE_TREE_CHECKING 1" >>confdefs.h
TREEBROWSER=tree-browser.o
TREECHECKING=yes
fi
if test x$ac_types_checking != x ; then
......@@ -7094,7 +7092,6 @@ $as_echo "#define ENABLE_TYPES_CHECKING 1" >>confdefs.h
fi
if test x$ac_rtl_checking != x ; then
$as_echo "#define ENABLE_RTL_CHECKING 1" >>confdefs.h
......@@ -18304,7 +18301,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 18307 "configure"
#line 18304 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
......@@ -18410,7 +18407,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 18413 "configure"
#line 18410 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
......
......@@ -569,10 +569,8 @@ if test x$ac_tree_checking != x ; then
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
TREECHECKING=yes
fi
if test x$ac_types_checking != x ; then
......@@ -581,7 +579,6 @@ if test x$ac_types_checking != x ; then
This is cheap.
])
fi
AC_SUBST(TREEBROWSER)
AC_SUBST(TREECHECKING)
if test x$ac_rtl_checking != x ; then
AC_DEFINE(ENABLE_RTL_CHECKING, 1,
......
/* Definitions and documentation for the codes used by the Tree Browser.
Copyright (C) 2002-2015 Free Software Foundation, Inc.
Contributed by Sebastian Pop <s.pop@laposte.net>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
/* First field in the following declarations is the code of the command
used by the tree browser.
Second field is what is parsed in order to recognize a command.
Third field is used for printing the help message. */
/* Misc. commands. */
DEFTBCODE (TB_EXIT, "x", "Exits tree-browser.")
DEFTBCODE (TB_QUIT, "q", "Exits tree-browser.")
DEFTBCODE (TB_HELP, "h", "Prints this help message.")
DEFTBCODE (TB_UPDATE_UP, "update", "Update information about parent expressions.")
DEFTBCODE (TB_VERBOSE, "verbose", "Sets/unsets verbose mode (default is on).")
/* Walking commands. */
DEFTBCODE (TB_FUN, "fun", "Go to the current function declaration.")
DEFTBCODE (TB_NEXT, "nx", "Go to the next expression in a BIND_EXPR.")
DEFTBCODE (TB_PREV, "pr", "Go to the previous expression in a BIND_EXPR.")
DEFTBCODE (TB_UP, "up", "Go to the parent tree node.")
DEFTBCODE (TB_LAST, "last", "Go to the last expression in a BIND_EXPR.")
DEFTBCODE (TB_FIRST, "first","Go to the first expression in a BIND_EXPR.")
DEFTBCODE (TB_HPREV, "hpr", "Go to the previous visited node (history previous).")
/* Fields accessors. */
DEFTBCODE (TB_CHILD_0, "arg0", "Child 0.")
DEFTBCODE (TB_CHILD_1, "arg1", "Child 1.")
DEFTBCODE (TB_CHILD_2, "arg2", "Child 2.")
DEFTBCODE (TB_CHILD_3, "arg3", "Child 3.")
DEFTBCODE (TB_DECL_SAVED_TREE, "decl_saved_tree", "Body of a function.")
DEFTBCODE (TB_TYPE, "type", "Field accessor.")
DEFTBCODE (TB_SIZE, "size", "Field accessor.")
DEFTBCODE (TB_UNIT_SIZE, "unit_size", "Field accessor.")
DEFTBCODE (TB_OFFSET, "offset", "Field accessor.")
DEFTBCODE (TB_BIT_OFFSET, "bit_offset", "Field accessor.")
DEFTBCODE (TB_CONTEXT, "context", "Field accessor.")
DEFTBCODE (TB_ATTRIBUTES, "attributes", "Field accessor.")
DEFTBCODE (TB_ABSTRACT_ORIGIN, "abstract_origin", "Field accessor.")
DEFTBCODE (TB_ARGUMENTS, "arguments", "Field accessor.")
DEFTBCODE (TB_RESULT, "result", "Field accessor.")
DEFTBCODE (TB_INITIAL, "initial", "Field accessor.")
DEFTBCODE (TB_ARG_TYPE, "arg-type", "Field accessor.")
DEFTBCODE (TB_ARG_TYPE_AS_WRITTEN, "arg-type-as-written", "Field accessor.")
DEFTBCODE (TB_CHAIN, "chain", "Field accessor.")
DEFTBCODE (TB_VALUES, "values", "Field accessor.")
DEFTBCODE (TB_DOMAIN, "domain", "Field accessor.")
DEFTBCODE (TB_METHOD_BASE_TYPE, "method_basetype", "Field accessor.")
DEFTBCODE (TB_FIELDS, "fields", "Field accessor.")
DEFTBCODE (TB_ARG_TYPES, "arg-types", "Field accessor.")
DEFTBCODE (TB_BASETYPE, "basetype", "Field accessor.")
DEFTBCODE (TB_POINTER_TO_THIS, "pointer_to_this", "Field accessor.")
DEFTBCODE (TB_REFERENCE_TO_THIS,"reference_to_this", "Field accessor.")
DEFTBCODE (TB_VARS, "vars", "Field accessor.")
DEFTBCODE (TB_SUPERCONTEXT, "supercontext", "Field accessor.")
DEFTBCODE (TB_BODY, "body", "Field accessor.")
DEFTBCODE (TB_SUBBLOCKS, "subblocks", "Field accessor.")
DEFTBCODE (TB_BLOCK, "block", "Field accessor.")
DEFTBCODE (TB_REAL, "real", "Field accessor.")
DEFTBCODE (TB_IMAG, "imag", "Field accessor.")
DEFTBCODE (TB_PURPOSE, "purpose", "Field accessor.")
DEFTBCODE (TB_VALUE, "value", "Field accessor.")
DEFTBCODE (TB_ELT, "elt", "Field accessor.")
DEFTBCODE (TB_MIN, "min", "Field accessor.")
DEFTBCODE (TB_MAX, "max", "Field accessor.")
/* Searching commands. */
DEFTBCODE (TB_SEARCH_CODE, "sc", "Search a node having a TREE_CODE given as a parameter.")
DEFTBCODE (TB_SEARCH_NAME, "sn", "Search an identifier having a name given as a parameter.")
/* Printing commands. */
DEFTBCODE (TB_PRETTY_PRINT, "pp", "Pretty print current node.")
DEFTBCODE (TB_PRINT, "p", "Prints the current node.")
/*
Local variables:
mode:c
End:
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment