diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-02 08:12:04 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-02 08:12:04 +0000 |
commit | 77b633a04775da67c080cb2bab55f243d95449a7 (patch) | |
tree | b2c1526d62de23db8d849a6785c2b9455dbdb398 /Makefile.in | |
parent | e1f3b609ce1d5082c5a9ddf9f3d32f55bb941f3f (diff) | |
download | gcc-77b633a04775da67c080cb2bab55f243d95449a7.tar.gz |
* Makefile.tpl ([+compare-target+]): Compare all stage
directories, rather than just gcc.
* Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148080 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in index 7f825e76d25..a32f0835267 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53135,15 +53135,16 @@ compare: : $(MAKE); $(stage); \ rm -f .bad_compare ; \ echo Comparing stages 2 and 3 ; \ - cd stage3-gcc; \ - files=`find . -name "*$(objext)" -print` ; \ - cd .. ; \ + sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \ + files=`find stage3-* -name "*$(objext)" -print | \ + sed -n s,^stage$$sed-,,p` ; \ for file in $${files} ; do \ - f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \ + f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \ + if test ! -f $$f1; then continue; fi; \ $(do-compare) > /dev/null 2>&1; \ if test $$? -eq 1; then \ case $$file in \ - ./cc*-checksum$(objext) | ./libgcc/* | ./ada/*tools/* ) \ + gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \ echo warning: $$file differs ;; \ *) \ echo $$file differs >> .bad_compare ;; \ @@ -53472,15 +53473,16 @@ compare3: : $(MAKE); $(stage); \ rm -f .bad_compare ; \ echo Comparing stages 3 and 4 ; \ - cd stage4-gcc; \ - files=`find . -name "*$(objext)" -print` ; \ - cd .. ; \ + sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \ + files=`find stage4-* -name "*$(objext)" -print | \ + sed -n s,^stage$$sed-,,p` ; \ for file in $${files} ; do \ - f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \ + f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \ + if test ! -f $$f1; then continue; fi; \ $(do-compare3) > /dev/null 2>&1; \ if test $$? -eq 1; then \ case $$file in \ - ./cc*-checksum$(objext) | ./libgcc/* | ./ada/*tools/* ) \ + gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \ echo warning: $$file differs ;; \ *) \ echo $$file differs >> .bad_compare ;; \ |