From 5388a89aacddc944dc4d554379bb7ea173e209bc Mon Sep 17 00:00:00 2001
From: "Loren J. Rittle" <ljrittle@acm.org>
Date: Wed, 22 Nov 2000 02:15:49 +0000
Subject: [PATCH] mkcheck.in (explanation): Retain output of all failing
 compiles.

2000-11-21  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in (explanation): Retain output of all failing
        compiles.  Don't add gratuitous space to the log file.

From-SVN: r37639
---
 libstdc++-v3/ChangeLog  | 5 +++++
 libstdc++-v3/mkcheck.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2c020f77c0d3..ea4e99be0761 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-21  Loren J. Rittle  <ljrittle@acm.org>
+
+        * mkcheck.in (explanation): Retain output of all failing
+        compiles.  Don't add gratuitous space to the log file.
+
 2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
 
 	* src/strstream.cc: Adjust includes.
diff --git a/libstdc++-v3/mkcheck.in b/libstdc++-v3/mkcheck.in
index b4b38e12a14a..9bacd4f1efb8 100755
--- a/libstdc++-v3/mkcheck.in
+++ b/libstdc++-v3/mkcheck.in
@@ -375,7 +375,6 @@ test_file()
     # eventually have to calculate time_t anyhow.  Or 3) just grab two
     # time_t's (no more overhead than grabbing two date(1)'s).
     compiler_invocation="$LTCXX $S_FLAG $SRC_NAME -o $EXENAME $LIBS"
-    printf "\n" >> $LOG_FILE
     COMP_TIME_START=$($TEST_DIR/printnow)
     $compiler_invocation >> compile.out 2>&1
     COMP_TIME_END=$($TEST_DIR/printnow)
@@ -423,6 +422,7 @@ test_file()
         fi
     else
         # the file did not compile/link.
+        printf "\n" >> $LOG_FILE
        `cat compile.out > $LOG_FILE` 
 	rm compile.out
         RESULT="-b"
-- 
GitLab