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]

[libgfortran,committed] Fix syntax that IRIX sed doesn't like


I committed (rev. 130015) the patch below as obvious after noticing
that the IRIX sed didn't like the previous one (introduced by my patch
dated 2007-10-26). Bootstrap now progresses further on
mips-sgi-irixi6.5, and still works on x86_64-linux.

FX



Index: ChangeLog
===================================================================
--- ChangeLog   (revision 130014)
+++ ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2007-11-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * mk-kinds-h.sh: Change sed syntax.
+
 2007-11-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/33985
Index: mk-kinds-h.sh
===================================================================
--- mk-kinds-h.sh       (revision 130014)
+++ mk-kinds-h.sh       (working copy)
@@ -59,7 +59,7 @@ for k in $possible_real_kinds; do
     # Check for the value of HUGE
     echo "print *, huge(0._$k) ; end" > tmq$$.f90
     huge=`$compile -c -fdump-parse-tree tmq$$.f90 | grep TRANSFER \
-               | sed 's/ *TRANSFER *// ; s/_.*//'`
+               | sed 's/ *TRANSFER *//' | sed 's/_.*//'`
     rm -f tmq$$.*

     # Check for the value of DIGITS


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