re PR target/44755 (picochip.md enum types mismatch)
authorJoern Rennecke <amylaar@spamcop.net>
Tue, 9 Nov 2010 17:21:02 +0000 (17:21 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 9 Nov 2010 17:21:02 +0000 (17:21 +0000)
commit959fc02c27caefe184137ff482a34608e1ff64b9
tree1a4c1b56ac02db3a762c3a9a2f5ce6c6e0f4e4c2
parenta3357f7dffc52969c120c2ecb9f1c013833ccb9b
re PR target/44755 (picochip.md enum types mismatch)

PR target/44755
* config.gcc (picochip-*): Add t-pnt16-warn to tmake_file.
* config/t-pnt16-warn: New file.
* config/picochip/picochip.c (picochip_emit_stack_allocate):
Use add_reg_note.
(picochip_emit_save_register): Likewise.
(picochip_emit_restore_register): Remove variable insn.
(picochip_legitimize_address): Don't use C++ style comments.
(picochip_legitimize_reload_address): Likewise.
(reorder_var_tracking_notes): Remove variable vliw_start.
(picochip_reorg): Cast first arguemnt to emit_note_after to
enum insn_note.
(picochip_expand_builtin_2op): Use EXPAND_NORMAL.
(picochip_expand_builtin_3op): Likewise.
(picochip_expand_builtin_2opvoid): Likewise.
(picochip_expand_array_get, picochip_expand_array_put): Likewise.
(picochip_expand_array_testport): Likewise.
(picochip_init_builtins): Remove unused variables.
* config/picochip/picochip.h (ASM_FORMAT_PRIVATE_NAME): Cast LABELNO
to unsigned long, and output it as such.
(ASM_OUTPUT_SKIP): Use HOST_WIDE_INT_PRINT_UNSIGNED.
* config/picochip/picochip.md (movhicc): Remove nonsense statement.
(schedType): Cast result of picochip_schedule_type to
enum attr_schedType.

From-SVN: r166499
gcc/ChangeLog
gcc/config.gcc
gcc/config/picochip/picochip.c
gcc/config/picochip/picochip.h
gcc/config/picochip/picochip.md
gcc/config/t-pnt16-warn [new file with mode: 0644]