rs6000.h (PROMOTE_MODE): Correct test for when -m32 -mpowerpc64 is active.

* config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
	-mpowerpc64 is active.

From-SVN: r219750
This commit is contained in:
Segher Boessenkool 2015-01-16 17:31:37 +01:00 committed by Segher Boessenkool
parent 72d7151a72
commit 96922e4c58
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
-mpowerpc64 is active.
2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
PR middle-end/64353

View File

@ -733,7 +733,7 @@ extern unsigned char rs6000_recip_bits[];
#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \
if (GET_MODE_CLASS (MODE) == MODE_INT \
&& GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \
&& GET_MODE_SIZE (MODE) < (TARGET_32BIT ? 4 : 8)) \
(MODE) = TARGET_32BIT ? SImode : DImode;
/* Define this if most significant bit is lowest numbered