mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 13:41:12 +08:00
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
This commit is contained in:
parent
38b0b09304
commit
f7dfb654e7
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user