Re: [Patch] Remove arm-specific formats from asm_fprintf

2014-08-20 Thread David Wohlferd
Sorry for the late response. I spent some time trying to understand your concerns here, but I'm not sure I got what you are saying: 1) Did you assume this patch would somehow disable these formats during cross builds, preventing the i386-arm xgcc from correctly using them? I don't believe

Re: [Patch] Remove arm-specific formats from asm_fprintf

2014-08-20 Thread Joseph S. Myers
On Wed, 20 Aug 2014, David Wohlferd wrote: Or have I completely missed your point? Suppose you build a copy of GCC, call it GCCA, and use it to compile a program P, with -Wformat enabled. The following must hold: * If P is not GCC, asm_fprintf formats are not accepted at all by GCCA when

Re: [Patch] Remove arm-specific formats from asm_fprintf

2014-07-28 Thread Joseph S. Myers
On Wed, 23 Jul 2014, David Wohlferd wrote: 2014-07-23 David Wohlferd d...@limegreensocks.com * doc/c-family/c-format.c: Add support for target macro ASM_FPRINTF_TABLE, remove arm-specific formats. * gcc/config/arm/arm.h: Use ASM_FPRINTF_TABLE for %@ and %r.

[Patch] Remove arm-specific formats from asm_fprintf

2014-07-23 Thread David Wohlferd
I have a release on file with the FSF, but don't have SVN write access. Problem description: asm_fprintf allows platforms to add support for new format specifiers by using the ASM_FPRINTF_EXTENSIONS macro. ARM uses this to add support for %@ and %r specifiers. However, it isn't enough to