This patch removes mips32[r1] and mips64[r1] from the list of
mips-mti-linux-gnu architectures built with -mnan=2008.  They
should never have been included since these architectures do not
support the ieee 2008 format (GCC warns and ignores the nan flag).

The recent changes to glibc to use -Werror mean that the warning
GCC gives is treated as an error and that glibc will not build with
these flag combinations so I would like to remove them from the
GCC mips-mti-linux-gnu multilib list.

This does not affect any GCC target other then mips-mti-linux.gnu.

OK to checkin?

Steve Ellcey
sell...@imgtec.com


2014-12-24  Steve Ellcey  <sell...@mips.com>

        * config/mips/t-mti-linux (MULTILIB_EXCEPTIONS): Add exceptions
        for mips32[r1] and mips64[r1] with -mnan=2008.


diff --git a/gcc/config/mips/t-mti-linux b/gcc/config/mips/t-mti-linux
index 487a015..c111532 100644
--- a/gcc/config/mips/t-mti-linux
+++ b/gcc/config/mips/t-mti-linux
@@ -41,5 +41,8 @@ MULTILIB_EXCEPTIONS += *mips32/mmicromips*
 MULTILIB_EXCEPTIONS += *mips64*/mmicromips*
 MULTILIB_EXCEPTIONS += *mmicromips/mabi=64*
 
-# We do not want nan2008 libraries for soft-float.
+# We do not want nan2008 libraries for soft-float,
+# mips32[r1], or mips64[r1].
 MULTILIB_EXCEPTIONS += *msoft-float*/*mnan=2008*
+MULTILIB_EXCEPTIONS += *mips32/*mnan=2008*
+MULTILIB_EXCEPTIONS += *mips64/*mnan=2008*

Reply via email to