Re: [SH][committed] Setting MULTILIB_EXCEPTIONS in gcc/config/sh/t-linux causes problems

2015-03-26 Thread David Howells
> [1. text/x-patch; sh_multilib_sh1_sh2a_ml_1.patch] This works, thanks. I see the following produced: vega>rpm -qlp gcc-sh-linux-gnu-5.0.0-0.1.fc23.x86_64.rpm | grep libgcc /usr/lib/gcc/sh-linux-gnu/5.0.0/libgcc.a /usr/lib/gcc/sh-linux-gnu/5.0.0/m2/libgcc.a /usr/lib/gcc/sh-linux-gnu/

[PATCH] Fix a bunch of print format errors in gcc-5

2015-02-12 Thread David Howells
Hi, Here's a patch that inserts "%s", into a number of printf-format calls to avoid: error: format not a string literal and no format arguments [-Werror=format-security] and to avoid reads on uninitialised data should a string with one or more "%" in it be processed. David ---

[PATCH] Fix a number of -Wformat-security warnings in gcc/config/*/*

2015-02-13 Thread David Howells
* 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. ---