The _Unwind_GetCFA() routine returns a 64-bit value,
which we interpret as a pointer. Add an intermediate
cast to long so that in ILP32 mode we don't get a warning
about casting a wrong-sized integer to a pointer.
+2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
+
+ * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
+ long before casting to pointer to avoid a cast warning.
+
2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
* sysdeps/tile/tilegx/Implies: New file.
2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
* sysdeps/tile/tilegx/Implies: New file.
((void *) (address) < (void *) demangle ((jmpbuf)[JB_SP]))
#define _JMPBUF_CFA_UNWINDS_ADJ(_jmpbuf, _context, _adj) \
((void *) (address) < (void *) demangle ((jmpbuf)[JB_SP]))
#define _JMPBUF_CFA_UNWINDS_ADJ(_jmpbuf, _context, _adj) \
- _JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) _Unwind_GetCFA (_context), _adj)
+ _JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) (long) _Unwind_GetCFA (_context), _adj)
static inline uintptr_t __attribute__ ((unused))
_jmpbuf_sp (__jmp_buf regs)
static inline uintptr_t __attribute__ ((unused))
_jmpbuf_sp (__jmp_buf regs)