Commit a202e609 by Vladimir Makarov Committed by Vladimir Makarov

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
parent c5022db0
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>
* 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)
&& dclass != NO_REGS))
{
#if ENABLE_ASSERT_CHECKING
enum reg_class old_sclass = secondary_class;
secondary_reload_info old_sri = sri;
#endif
sri.prev_sri = NULL;
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-codes.h"
#ifdef ENABLE_CHECKING
#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
#define lra_assert(c) gcc_checking_assert (c)
/* The parameter used to prevent infinite reloading for an insn. Each
insn operands might require a reload and, if it is a memory, its
......
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