Commit 208b85bb by Kyrylo Tkachov Committed by Kyrylo Tkachov

[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
parent 31ae5117
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> 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.h (ASM_SPEC): Pass mfpuda to assembler. * config/arc/arc.h (ASM_SPEC): Pass mfpuda to assembler.
......
...@@ -1807,11 +1807,7 @@ expand_arith_overflow (enum tree_code code, gimple *stmt) ...@@ -1807,11 +1807,7 @@ expand_arith_overflow (enum tree_code code, gimple *stmt)
/* For sub-word operations, retry with a wider type first. */ /* For sub-word operations, retry with a wider type first. */
if (orig_precres == precres && precop <= BITS_PER_WORD) if (orig_precres == precres && precop <= BITS_PER_WORD)
{ {
#if WORD_REGISTER_OPERATIONS int p = WORD_REGISTER_OPERATIONS ? BITS_PER_WORD : precop;
int p = BITS_PER_WORD;
#else
int p = precop;
#endif
enum machine_mode m = smallest_mode_for_size (p, MODE_INT); enum machine_mode m = smallest_mode_for_size (p, MODE_INT);
tree optype = build_nonstandard_integer_type (GET_MODE_PRECISION (m), tree optype = build_nonstandard_integer_type (GET_MODE_PRECISION (m),
uns0_p && uns1_p uns0_p && uns1_p
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment