* config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
From-SVN: r227717
+2015-09-13 John David Anglin <danglin@gcc.gnu.org>
+
+ * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
+
2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config/gthr-rtems.h (__GTHREADS_CXX0X): New.
#define GET_FIELD(X, FROM, TO) \
((X) >> (31 - (TO)) & ((1 << ((TO) - (FROM) + 1)) - 1))
#define SIGN_EXTEND(VAL,BITS) \
- ((int) ((VAL) >> ((BITS) - 1) ? (-1 << (BITS)) | (VAL) : (VAL)))
+ ((int) ((VAL) >> ((BITS) - 1) ? ((unsigned)(-1) << (BITS)) | (VAL) : (VAL)))
struct link_map;
typedef int (*fptr_t) (void);