+2017-07-06 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/81305
+ * gcc.target/avr/isr-test.h: Fix warnings.
+
2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
* lib/target-supports.exp: Generate
regs_t reginfo1, reginfo2;
-__attribute__((noinline))
+__attribute__((noinline,unused))
static void clear_reginfo (void)
{
memset (reginfo1.sfrs, 0, sizeof (reginfo1.sfrs));
memset (reginfo2.sfrs, 0, sizeof (reginfo2.sfrs));
}
-__attribute__((noinline))
+__attribute__((noinline,unused))
static void compare_reginfo (unsigned long gpr_ignore)
{
signed char regno;
if (*preg1 != *preg2)
{
static signed char volatile failed_regno;
+ (void) failed_regno;
failed_regno = regno;
__builtin_abort();
}