re PR target/44749 (mep-elf fails to build)
commitc28883e6412287f04b901e6035ac7c2ff81cc4f6
authorDJ Delorie <dj@redhat.com>
Tue, 14 Sep 2010 07:26:54 +0000 (14 03:26 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Tue, 14 Sep 2010 07:26:54 +0000 (14 03:26 -0400)
treea88645b0e868f78751fe7ce60585d9b0f8631518
parent927b02e5f88b8eb684ddb057dca8e723ceb227a9
re PR target/44749 (mep-elf fails to build)

PR target/44749
* config/mep/mep-protos.h (mep_save_register_info,
mep_reinit_regs, mep_init_regs): Declare.

* config/mep/mep.c: Move all target definitions to the end of the
file to avoid the need for duplicate declarations.
(mep_save_register_info, mep_reinit_regs, mep_init_regs): New.
(mep_reorg_erepeat): Remove unused variables.
(mep_expand_builtin): Likewise.

* config/mep/mep-pragma.c: Don't include rtl.h.
(INVALID_REGNUM): New.
(mep_pragma_coprocessor_which): Call mep-specific rtl-layer bridge
functions.
(mep_pragma_coprocessor_subclass): Rename "class" to "rclass".
Avoid enum/integer math.

From-SVN: r164268
gcc/ChangeLog
gcc/config/mep/mep-pragma.c
gcc/config/mep/mep-protos.h
gcc/config/mep/mep.c