2001-06-03 Alexandre Oliva <aoliva@redhat.com>
+ * insn-addr.h (INSN_ADDRESSES_NEW): Make insn_uid__ unsigned.
+ Reformat according to coding standards.
+
Warning removal.
* config/sh/sh.c (print_operand_address): Cast INTVAL to int.
(shl_and_kind): Cast wide constant.
#define INSN_ADDRESSES_FREE() VARRAY_FREE (insn_addresses_)
#define INSN_ADDRESSES_SET_P() (insn_addresses_ != 0)
#define INSN_ADDRESSES_SIZE() VARRAY_SIZE (insn_addresses_)
-#define INSN_ADDRESSES_NEW(insn,addr) do { \
- int insn_uid__ = INSN_UID ((insn)), insn_addr__ = (addr); \
+#define INSN_ADDRESSES_NEW(insn, addr) do \
+ { \
+ unsigned insn_uid__ = INSN_UID ((insn)); \
+ int insn_addr__ = (addr); \
\
- if (INSN_ADDRESSES_SET_P()) { \
- if (INSN_ADDRESSES_SIZE() <= insn_uid__) \
- insn_addresses_ = VARRAY_GROW (insn_addresses_, insn_uid__ + 1); \
- INSN_ADDRESSES (insn_uid__) = insn_addr__; \
+ if (INSN_ADDRESSES_SET_P ()) \
+ { \
+ if (INSN_ADDRESSES_SIZE () <= insn_uid__) \
+ insn_addresses_ = VARRAY_GROW (insn_addresses_, insn_uid__ + 1); \
+ INSN_ADDRESSES (insn_uid__) = insn_addr__; \
+ } \
} \
-} while (0)
+while (0)
#endif /* ! GCC_INSN_ADDR_H */