http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44758
--- Comment #1 from Jorn Wolfgang Rennecke
2010-11-08 18:53:00 UTC ---
Author: amylaar
Date: Mon Nov 8 18:52:51 2010
New Revision: 166447
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166447
Log:
2010-11-08 Joern Rennecke
Richard Henderson
PR target/44758
* config/frv/frv.md (attribute cpu): Cast value to enum attr_cpu.
(attribute acc_group): Cast value to enum attr_acc_group.
(*movdi_nodouble+6): Use gen_int_mode.
* config/frv/frv-protos.h (frv_trampoline_size): Declare no matter
if RTX_CODE is defined or not.
* config/frv/frv.c (enum frv_io_type): New enum, broken out of
struct frv_io.
(frv_handle_option): Mark parameter value with ATTRIBUTE_UNUSED.
(frv_frame_access, frv_expand_prologue): Remove unused variables.
(frv_expand_block_clear): Likewise.
(frv_trampoline_init): Use LCT_NORMAL.
(struct frv_packet_group): New struct, broken out of type of
frv_packet.
(frv_start_packet, frv_reorder_packet): Initialize group to GROUP_I,
use cast in loop counter increment.
(frv_extract_membar): Cast HOST_WIDE_INT to enum frv_io_type before
assigning to io->type.
(bdesc_set): Use rtx_code UNKNOWN in initializer.
(bdesc_1arg, bdesc_2arg, bdesc_int_void2arg): Likewise.
(bdesc_prefetches, bdesc_cut, bdesc_2argimm, bdesc_void2arg): Likewise.
(bdesc_void3arg, bdesc_voidacc, bdesc_loads, bdesc_stores): Likewise.
(frv_read_argument): Use expand_normal.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/frv/frv-protos.h
trunk/gcc/config/frv/frv.c
trunk/gcc/config/frv/frv.md