* config/avr/avr.c (avr_print_operand_address, avr_print_operand): Avoid -Wformat-security warning. * config/m68k/m68k.c (print_operand): Likewise. * config/s390/s390.c (print_operand): Likewise. * config/tilegx/tilegx.c (tilegx_print_operand): Likewise. --- gcc/config/m68k/m68k.c.orig 2015-02-13 11:29:22.395433678 +0000 +++ gcc/config/m68k/m68k.c 2015-02-13 11:29:29.463468222 +0000 @@ -4469,7 +4469,7 @@ print_operand (FILE *file, rtx op, int l else if (letter == '/') asm_fprintf (file, "%R"); else if (letter == '?') - asm_fprintf (file, m68k_library_id_string); + asm_fprintf (file, "%s", m68k_library_id_string); else if (letter == 'p') { output_addr_const (file, op); --- gcc/config/s390/s390.c.orig 2015-02-12 20:06:35.909940703 +0000 +++ gcc/config/s390/s390.c 2015-02-12 20:06:47.627008105 +0000 @@ -5481,11 +5481,11 @@ print_operand (FILE *file, rtx x, int co switch (code) { case 'C': - fprintf (file, s390_branch_condition_mnemonic (x, FALSE)); + fprintf (file, "%s", s390_branch_condition_mnemonic (x, FALSE)); return; case 'D': - fprintf (file, s390_branch_condition_mnemonic (x, TRUE)); + fprintf (file, "%s", s390_branch_condition_mnemonic (x, TRUE)); return; case 'E': --- gcc/config/tilegx/tilegx.c.orig 2015-02-12 21:11:36.070847024 +0000 +++ gcc/config/tilegx/tilegx.c 2015-02-12 21:11:42.891875824 +0000 @@ -5397,7 +5397,7 @@ tilegx_print_operand (FILE *file, rtx x, gcc_unreachable (); } - fprintf (file, reg); + fprintf (file, "%s", reg); return; }