2013-04-22 Catherine Moore <clm@codesourcery.com>
authorclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Apr 2013 22:16:45 +0000 (22:16 +0000)
committerclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Apr 2013 22:16:45 +0000 (22:16 +0000)
            David Daney <ddaney.cavm@gmail.com>

        * configure.ac (gcc_cv_as_micromips_support):  Use the
        --fatal-warnings option.
        * configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198164 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index f5b4635..3c52f53 100644 (file)
@@ -1,3 +1,10 @@
+2013-04-22  Catherine Moore  <clm@codesourcery.com>
+            David Daney <ddaney.cavm@gmail.com>
+
+        * configure.ac (gcc_cv_as_micromips_support):  Use the
+        --fatal-warnings option.
+        * configure: Regenerate.
+
 2013-04-22  Marek Polacek  <polacek@redhat.com>
 
        PR sanitizer/56990
index a33da7a..fd4a0eb 100755 (executable)
@@ -25766,7 +25766,7 @@ else
   gcc_cv_as_micromips_support=no
   if test x$gcc_cv_as != x; then
     $as_echo '.set micromips' > conftest.s
-    if { ac_try='$gcc_cv_as $gcc_cv_as_flags  -o conftest.o conftest.s >&5'
+    if { ac_try='$gcc_cv_as $gcc_cv_as_flags --fatal-warnings -o conftest.o conftest.s >&5'
   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   (eval $ac_try) 2>&5
   ac_status=$?
index 1d5175b..a859d99 100644 (file)
@@ -4058,7 +4058,7 @@ LCF0:
          [Define if your assembler supports .gnu_attribute.])])
 
     gcc_GAS_CHECK_FEATURE([.micromips support],
-      gcc_cv_as_micromips_support,,,
+      gcc_cv_as_micromips_support,,[--fatal-warnings],
       [.set micromips],,
       [AC_DEFINE(HAVE_GAS_MICROMIPS, 1,
           [Define if your assembler supports the .set micromips directive])])