===================================================================
@@ -27,10 +27,13 @@
/* Align an address. */
#define ADDR_ALIGN(addr,align) (((addr) + (align) - 1) & ~((align) - 1))
-/* Return true if a value is inside a range. */
-#define IN_RANGE_P(VALUE, LOW, HIGH) \
- ( (((HOST_WIDE_INT)(VALUE)) >= (HOST_WIDE_INT)(LOW)) \
- && (((HOST_WIDE_INT)(VALUE)) <= ((HOST_WIDE_INT)(HIGH))))
+/* Return true if a value is inside a range. Make this an inline
+ function rather than a macro, lest we get host-dependent warnings. */
+static inline bool
+IN_RANGE_P (HOST_WIDE_INT value, HOST_WIDE_INT low, HOST_WIDE_INT high)
+{
+ return value >= low && value <= high;
+}
/* Driver configuration. */