diff contrib/check_warning_flags.sh @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents a06113de4d67
children
line wrap: on
line diff
--- a/contrib/check_warning_flags.sh	Fri Feb 12 23:41:23 2010 +0900
+++ b/contrib/check_warning_flags.sh	Mon May 24 12:47:05 2010 +0900
@@ -3,7 +3,7 @@
 # Check that the warning flags documented in invoke.texi match up
 # with what the compiler accepts.
 #
-# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 # Written by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
 #
 # This script is Free Software, and it can be copied, distributed and
@@ -147,7 +147,7 @@
   /-$/d
   /=/d'
 help_flags=`
-  $CC --help -v 2>/dev/null | tr ' ' '\n' |
+  $CC --help -v 2>/dev/null | tr ' ' '\012' |
     sed -n '
       b a
       :a