+2016-06-20 Georg-Johann Lay <avr@gjlay.de>
+
+ * config/avr/avr.c (avr_print_operand): Fix "format not a string
+ literal" build warnings.
+ (avr_print_operand_address): Dito.
+
2016-06-19 David Edelsohn <dje.gcc@gmail.com>
PR target/71375
switch (GET_CODE (addr))
{
case REG:
- fprintf (file, ptrreg_to_str (REGNO (addr)));
+ fprintf (file, "%s", ptrreg_to_str (REGNO (addr)));
break;
case PRE_DEC:
else if (code == 'E' || code == 'F')
{
rtx op = XEXP(x, 0);
- fprintf (file, reg_names[REGNO (op) + ef]);
+ fprintf (file, "%s", reg_names[REGNO (op) + ef]);
}
else if (code == 'I' || code == 'J')
{
rtx op = XEXP(XEXP(x, 0), 0);
- fprintf (file, reg_names[REGNO (op) + ij]);
+ fprintf (file, "%s", reg_names[REGNO (op) + ij]);
}
else if (REG_P (x))
{
else if (code == 'r' && REGNO (x) < 32)
fprintf (file, "%d", (int) REGNO (x));
else
- fprintf (file, reg_names[REGNO (x) + abcd]);
+ fprintf (file, "%s", reg_names[REGNO (x) + abcd]);
}
else if (CONST_INT_P (x))
{