i386.c (type_natural_mode): Fix typo.
authorRichard Biener <rguenther@suse.de>
Wed, 2 Mar 2016 10:04:43 +0000 (10:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Mar 2016 10:04:43 +0000 (10:04 +0000)
2016-03-02  Richard Biener  <rguenther@suse.de>

* config/i386/i386.c (type_natural_mode): Fix typo.

From-SVN: r233901

gcc/ChangeLog
gcc/config/i386/i386.c

index adcf50b68d37aec10dbbf71f12dcbe373be5f111..cc619be5b5e3545de800da7ba52cfdc9bc94ce22 100644 (file)
@@ -1,3 +1,7 @@
+2016-03-02  Richard Biener  <rguenther@suse.de>
+
+       * config/i386/i386.c (type_natural_mode): Fix typo.
+
 2016-03-02  Nick Clifton  <nickc@redhat.com>
 
        * config.gcc (mep-*-elf): Add newlib-stdint.h to tm_file.
index 20b12f5a1b88349a843e45e06f8b5021fd1c6ebd..8a026aeb009da258be24292374e6e5c618ee3cb1 100644 (file)
@@ -7795,7 +7795,7 @@ type_natural_mode (const_tree type, const CUMULATIVE_ARGS *cum,
          machine_mode innermode = TYPE_MODE (TREE_TYPE (type));
 
          /* There are no XFmode vector modes.  */
-         if (innermode = XFmode)
+         if (innermode == XFmode)
            return mode;
 
          if (TREE_CODE (TREE_TYPE (type)) == REAL_TYPE)