[internal-fn.c][committed] Convert conditional compilation on WORD_REGISTER_OPERATIONS

* internal-fn.c (expand_arith_overflow): Convert preprocessor check
	for WORD_REGISTER_OPERATIONS to runtime check.

From-SVN: r235569
This commit is contained in:
Kyrylo Tkachov 2016-04-28 13:38:18 +00:00 committed by Kyrylo Tkachov
parent 31ae5117dd
commit 208b85bb91
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2016-04-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* internal-fn.c (expand_arith_overflow): Convert preprocessor check
for WORD_REGISTER_OPERATIONS to runtime check.
2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.h (ASM_SPEC): Pass mfpuda to assembler.

View File

@ -1807,11 +1807,7 @@ expand_arith_overflow (enum tree_code code, gimple *stmt)
/* For sub-word operations, retry with a wider type first. */
if (orig_precres == precres && precop <= BITS_PER_WORD)
{
#if WORD_REGISTER_OPERATIONS
int p = BITS_PER_WORD;
#else
int p = precop;
#endif
int p = WORD_REGISTER_OPERATIONS ? BITS_PER_WORD : precop;
enum machine_mode m = smallest_mode_for_size (p, MODE_INT);
tree optype = build_nonstandard_integer_type (GET_MODE_PRECISION (m),
uns0_p && uns1_p