This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Pass -dumpbase to tree1


 Hi,

  This patch removes an extra line from treelang's Make-lang.in as
well as passing -dumpbase to tree1.  Passing -dumpbase now allows
the treelang testsuite to use -fdump-tree-... and scan-tree-dump.

 Bootstrapped and tested treelang on sparc-linux.

-- 
Thanks,
Jim

http://www.student.cs.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim

2005-02-26  James A. Morrison  <phython@gcc.gnu.org>

	* Make-lang.in: Remove commented out code.
	* lang-specs.h: Always pass -dumpbase to tree1.

Index: Make-lang.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/Make-lang.in,v
retrieving revision 1.50
diff -u -p -r1.50 Make-lang.in
--- Make-lang.in	13 Nov 2004 17:27:49 -0000	1.50
+++ Make-lang.in	26 Feb 2005 04:43:26 -0000
@@ -293,7 +293,6 @@ treelang.check: $(TESTSUITEDIR)/site.exp
 	gcc_extras="-B`cd ..;${PWD_COMMAND}` -B`cd ..;${PWD_COMMAND}`/treelang"; export gcc_extras; \
 	$(RUNTEST) --tool treelang $(RUNTESTFLAGS)
 	rm $(srcdir)/testsuite/treelang/{a01gcco01runpgmerr,a01gcc.out01,a01gcc.out01err}
-#	GCC_EXTRAS="$(GCC_EXTRAS)"; export GCC_EXTRAS; \
 
 # copy the output files from the current test to source ie say the new results are OK
 treelang.check.fix: force
Index: lang-specs.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/lang-specs.h,v
retrieving revision 1.2
diff -u -p -r1.2 lang-specs.h
--- lang-specs.h	5 Apr 2004 19:23:27 -0000	1.2
+++ lang-specs.h	26 Feb 2005 04:43:26 -0000
@@ -36,6 +36,7 @@ Boston, MA 02111-1307, USA.  */
 {"@treelang",
     "tree1\
        %{!Q:-quiet}\
+       -dumpbase %B \
        %{d*}\
        %{m*}\
        %{a}\

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]