Commit f7dfb654 by Trevor Saunders Committed by Trevor Saunders

always define REVERSE_CONDITION

gcc/ChangeLog:

2015-10-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* defaults.h (REVERSE_CONDITION): New default definition.
	* jump.c (reversed_comparison_code_parts): Adjust.

From-SVN: r228690
parent 38b0b093
2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* defaults.h (REVERSE_CONDITION): New default definition.
* jump.c (reversed_comparison_code_parts): Adjust.
2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* builtins.c (expand_builtin_setjmp_receiver): Don't use #if to
check HARD_FRAME_POINTER_IS_ARG_POINTER.
......@@ -1293,6 +1293,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define FRAME_ADDR_RTX(x) (x)
#endif
#ifndef REVERSE_CONDITION
#define REVERSE_CONDITION(code, mode) reverse_condition (code)
#endif
#ifdef GCC_INSN_FLAGS_H
/* Dependent default target macro definitions
......
......@@ -389,13 +389,7 @@ reversed_comparison_code_parts (enum rtx_code code, const_rtx arg0,
machine description to do tricks. */
if (GET_MODE_CLASS (mode) == MODE_CC
&& REVERSIBLE_CC_MODE (mode))
{
#ifdef REVERSE_CONDITION
return REVERSE_CONDITION (code, mode);
#else
return reverse_condition (code);
#endif
}
return REVERSE_CONDITION (code, mode);
/* Try a few special cases based on the comparison code. */
switch (code)
......
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