diff --git a/gcc/ChangeLog b/gcc/ChangeLog index adcf50b68d3..cc619be5b5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-03-02 Richard Biener + + * config/i386/i386.c (type_natural_mode): Fix typo. + 2016-03-02 Nick Clifton * config.gcc (mep-*-elf): Add newlib-stdint.h to tm_file. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 20b12f5a1b8..8a026aeb009 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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)