diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-16 09:13:39 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-16 09:13:39 +0000 |
commit | bd978a47e06b48783c0af438cd5d2d1daa80da6d (patch) | |
tree | c4467c7e4b18f729dff13d6304c4d28c4be7c2c0 /libgfortran/mk-kinds-h.sh | |
parent | d9c7bfaa8e2827e699ac0336d875dfa6d5a1c04d (diff) | |
download | gcc-bd978a47e06b48783c0af438cd5d2d1daa80da6d.tar.gz |
2008-01-16 Steven Bosscher <steven@gcc.gnu.org>
PR libfortran/34669
* mk-kinds-h.sh: Compile with -S to avoid calling the assembler,
to avoid piping the -fdump-parse-tree output to the assembler
when configuring with -pipe.
* mk-sik-inc.sh: Likewise.
* mk-srk-inc.sh: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131567 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/mk-kinds-h.sh')
-rwxr-xr-x | libgfortran/mk-kinds-h.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libgfortran/mk-kinds-h.sh b/libgfortran/mk-kinds-h.sh index 02c152c9ce5..6e893ff5ee7 100755 --- a/libgfortran/mk-kinds-h.sh +++ b/libgfortran/mk-kinds-h.sh @@ -14,7 +14,7 @@ smallest="" for k in $possible_integer_kinds; do echo " integer (kind=$k) :: i" > tmp$$.f90 echo " end" >> tmp$$.f90 - if $compile -c tmp$$.f90 > /dev/null 2>&1; then + if $compile -S tmp$$.f90 > /dev/null 2>&1; then s=`expr 8 \* $k` largest="$k" @@ -47,7 +47,7 @@ echo "" for k in $possible_real_kinds; do echo " real (kind=$k) :: x" > tmp$$.f90 echo " end" >> tmp$$.f90 - if $compile -c tmp$$.f90 > /dev/null 2>&1; then + if $compile -S tmp$$.f90 > /dev/null 2>&1; then case $k in 4) ctype="float" ; suffix="f" ;; 8) ctype="double" ; suffix="" ;; @@ -58,19 +58,19 @@ 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 \ + huge=`$compile -S -fdump-parse-tree tmq$$.f90 | grep TRANSFER \ | sed 's/ *TRANSFER *//' | sed 's/_.*//'` rm -f tmq$$.* # Check for the value of DIGITS echo "print *, digits(0._$k) ; end" > tmq$$.f90 - digits=`$compile -c -fdump-parse-tree tmq$$.f90 | grep TRANSFER \ + digits=`$compile -S -fdump-parse-tree tmq$$.f90 | grep TRANSFER \ | sed 's/ *TRANSFER *//'` rm -f tmq$$.* # Check for the value of RADIX echo "print *, radix(0._$k) ; end" > tmq$$.f90 - radix=`$compile -c -fdump-parse-tree tmq$$.f90 | grep TRANSFER \ + radix=`$compile -S -fdump-parse-tree tmq$$.f90 | grep TRANSFER \ | sed 's/ *TRANSFER *//'` rm -f tmq$$.* |