mirror of git://gcc.gnu.org/git/gcc.git
lra-int.h (lra_assert): Redefine it gcc_checking_assert.
2012-10-25 Vladimir Makarov <vmakarov@redhat.com> * lra-int.h (lra_assert): Redefine it gcc_checking_assert. * lra-constraints.c (check_and_process_move): Remove #if ENABLE_ASSERT_CHECKING. From-SVN: r192832
This commit is contained in:
parent
c5022db097
commit
a202e60986
|
|
@ -1,3 +1,9 @@
|
||||||
|
2012-10-25 Vladimir Makarov <vmakarov@redhat.com>
|
||||||
|
|
||||||
|
* lra-int.h (lra_assert): Redefine it gcc_checking_assert.
|
||||||
|
* lra-constraints.c (check_and_process_move): Remove #if
|
||||||
|
ENABLE_ASSERT_CHECKING.
|
||||||
|
|
||||||
2012-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2012-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* config/avr/rtems.h (TARGET_OS_CPP_BUILTINS): Remove
|
* config/avr/rtems.h (TARGET_OS_CPP_BUILTINS): Remove
|
||||||
|
|
|
||||||
|
|
@ -1204,10 +1204,8 @@ check_and_process_move (bool *change_p, bool *sec_mem_p)
|
||||||
|| ((secondary_class != NO_REGS || sri.icode != CODE_FOR_nothing)
|
|| ((secondary_class != NO_REGS || sri.icode != CODE_FOR_nothing)
|
||||||
&& dclass != NO_REGS))
|
&& dclass != NO_REGS))
|
||||||
{
|
{
|
||||||
#if ENABLE_ASSERT_CHECKING
|
|
||||||
enum reg_class old_sclass = secondary_class;
|
enum reg_class old_sclass = secondary_class;
|
||||||
secondary_reload_info old_sri = sri;
|
secondary_reload_info old_sri = sri;
|
||||||
#endif
|
|
||||||
|
|
||||||
sri.prev_sri = NULL;
|
sri.prev_sri = NULL;
|
||||||
sri.icode = CODE_FOR_nothing;
|
sri.icode = CODE_FOR_nothing;
|
||||||
|
|
|
||||||
|
|
@ -25,13 +25,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "insn-attr.h"
|
#include "insn-attr.h"
|
||||||
#include "insn-codes.h"
|
#include "insn-codes.h"
|
||||||
|
|
||||||
#ifdef ENABLE_CHECKING
|
#define lra_assert(c) gcc_checking_assert (c)
|
||||||
#define lra_assert(c) gcc_assert (c)
|
|
||||||
#else
|
|
||||||
/* Always define and include C, so that warnings for empty body in an
|
|
||||||
‘if’ statement and unused variable do not occur. */
|
|
||||||
#define lra_assert(c) ((void)(0 && (c)))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The parameter used to prevent infinite reloading for an insn. Each
|
/* The parameter used to prevent infinite reloading for an insn. Each
|
||||||
insn operands might require a reload and, if it is a memory, its
|
insn operands might require a reload and, if it is a memory, its
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue