]> git.ipfire.org Git - thirdparty/gcc.git/commit
Replace calls to abort in CRIS port.
authorHans-Peter Nilsson <hp@axis.com>
Fri, 13 May 2005 17:08:29 +0000 (17:08 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Fri, 13 May 2005 17:08:29 +0000 (17:08 +0000)
commitb6c341293e5c0b4fc017a327bd1c86d06c38e3da
tree64f2ad21d29bb47757ded03f599a3727d97e1a24
parent2d6c85d31464e0e26c381728795d959b14facf36
Replace calls to abort in CRIS port.

* config/cris/cris.h (CRIS_ASSERT): New macro.
* config/cris/cris.md ("*movsi_internal"): Use CRIS_ASSERT and
internal_error instead of abort.
("movsi"): Ditto.  Unquote preparation statement section.
* config/cris/cris.c (ASSERT_PLT_UNSPEC): Define in terms of
CRIS_ASSERT.
("call", "call_value"): Ditto, but use gcc_assert where
appropriate.  Tweak comments.
(cris_op_str): Call internal_error, not abort.
(cris_print_operand): Tweak "abort" reference to "die" in comment.
(cris_initial_elimination_offset): Call gcc_unreachable, not abort.
(cris_notice_update_cc): Call internal_error, not abort.
(cris_expand_return, cris_expand_prologue, cris_gen_movem_load)
(cris_emit_movem_store, cris_asm_output_symbol_ref)
(cris_output_addr_const_extra): Use CRIS_ASSERT, don't call abort.
(cris_symbol, cris_got_symbol): Use CRIS_ASSERT instead of
ENABLE_CHECKING-guarded abort call.
(cris_split_movdx): Use CRIS_ASSERT instead of abort with test.
Use internal_error at end of test-chain.

From-SVN: r99669
gcc/ChangeLog
gcc/config/cris/cris.c
gcc/config/cris/cris.h
gcc/config/cris/cris.md