can't use the ssa tree browser.

Diego Novillo dnovillo@redhat.com
Wed Mar 26 02:26:00 GMT 2003


In article <vpq1y0v946e.fsf@imag.fr>, Matthieu Moy wrote:

> Any idea about what I'm doint wrong ? 
> 
Since no function in tree-browser.o is ever called from GCC itself,
tree-browser.o is never linked in.  Try this patch.  It moves
tree-browser.o out of libbackend.a.

We probably need a better long term solution.  I don't want to have
tree-browser.o compiled-in by default.  We should probably add a configure
switch.  Suggestions welcome.


Diego.

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.903.2.80
diff -d -u -p -r1.903.2.80 Makefile.in
--- Makefile.in	23 Mar 2003 05:29:26 -0000	1.903.2.80
+++ Makefile.in	25 Mar 2003 20:28:05 -0000
@@ -776,7 +776,8 @@ C_AND_OBJC_OBJS = attribs.o c-errors.o c
   c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o \
   c-incpath.o cppdefault.o \
   c-objc-common.o c-dump.o c-pch.o libcpp.a $(C_TARGET_OBJS) \
-  c-simplify.o c-call-graph.o tree-mudflap.o c-mudflap.o c-pretty-print.o
+  c-simplify.o c-call-graph.o tree-mudflap.o c-mudflap.o c-pretty-print.o \
+  tree-browser.o 
 
 # Language-specific object files for C.
 C_OBJS = c-parse.o c-lang.o $(C_AND_OBJC_OBJS)
@@ -785,7 +786,7 @@ C_OBJS = c-parse.o c-lang.o $(C_AND_OBJC
 
 OBJS = tree-cfg.o tree-dfa.o tree-ssa.o tree-optimize.o tree-simple.o      \
  tree-alias-type.o gimplify.o tree-nomudflap.o tree-pretty-print.o         \
- tree-alias-common.o tree-ssa-ccp.o tree-browser.o @ANDER@ tree-ssa-dce.o  \
+ tree-alias-common.o tree-ssa-ccp.o @ANDER@ tree-ssa-dce.o  \
  tree-ssa-pre.o tree-ssa-copyprop.o                                        \
  alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o	           \
  cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o		   \
Index: cp/Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/Make-lang.in,v
retrieving revision 1.115.2.24
diff -d -u -p -r1.115.2.24 Make-lang.in
--- cp/Make-lang.in	2 Mar 2003 19:59:04 -0000	1.115.2.24
+++ cp/Make-lang.in	25 Mar 2003 20:28:05 -0000
@@ -80,7 +80,7 @@ g++-cross$(exeext): g++$(exeext)
 # Shared with C front end:
 CXX_C_OBJS = attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o \
 	c-dump.o $(CXX_TARGET_OBJS) c-pretty-print.o c-opts.o c-pch.o \
-	c-incpath.o cppdefault.o c-simplify.o tree-inline.o
+	c-incpath.o cppdefault.o c-simplify.o tree-inline.o tree-browser.o
 
 # Language-specific object files.
 CXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \



More information about the Gcc-help mailing list