This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix Ada bootstrap comparison
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 May 2009 21:17:21 +0200
- Subject: [PATCH] Fix Ada bootstrap comparison
Hi,
the Ada compiler uses various tools (ada/bldtools and ada/doctools) during the
build and they are compiled by the base compiler; therefore they shouldn't be
part of the bootstrap comparison since this would mean that the outcome of the
comparison depends on the base compiler.
Tested on i586-suse-linux, OK for mainline?
2009-05-20 Nicolas Roche <roche@adacore.com>
* Makefile.tpl (compare-target): Skip ./ada/*tools directories.
* Makefile.in: Regenerate.
--
Eric Botcazou
Index: Makefile.tpl
===================================================================
--- Makefile.tpl (revision 147564)
+++ Makefile.tpl (working copy)
@@ -1434,7 +1434,7 @@ do-clean: clean-stage[+id+]
$(do-[+compare-target+]) > /dev/null 2>&1; \
if test $$? -eq 1; then \
case $$file in \
- ./cc*-checksum$(objext) | ./libgcc/* ) \
+ ./cc*-checksum$(objext) | ./libgcc/* | ./ada/*tools/* ) \
echo warning: $$file differs ;; \
*) \
echo $$file differs >> .bad_compare ;; \
Index: Makefile.in
===================================================================
--- Makefile.in (revision 147564)
+++ Makefile.in (working copy)
@@ -52218,7 +52218,7 @@ compare:
$(do-compare) > /dev/null 2>&1; \
if test $$? -eq 1; then \
case $$file in \
- ./cc*-checksum$(objext) | ./libgcc/* ) \
+ ./cc*-checksum$(objext) | ./libgcc/* | ./ada/*tools/* ) \
echo warning: $$file differs ;; \
*) \
echo $$file differs >> .bad_compare ;; \
@@ -52543,7 +52543,7 @@ compare3:
$(do-compare3) > /dev/null 2>&1; \
if test $$? -eq 1; then \
case $$file in \
- ./cc*-checksum$(objext) | ./libgcc/* ) \
+ ./cc*-checksum$(objext) | ./libgcc/* | ./ada/*tools/* ) \
echo warning: $$file differs ;; \
*) \
echo $$file differs >> .bad_compare ;; \