This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch installed to concatentate specifiers using HOST_WIDE_INT_PRINT_*
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 16 May 2003 21:01:27 +0100 (BST)
- Subject: Re: Patch installed to concatentate specifiers using HOST_WIDE_INT_PRINT_*
- References: <200305161912.PAA29514@caip.rutgers.edu>
On Fri, 16 May 2003, Kaveh R. Ghazi wrote:
> This patch concatentates format specifiers in files from the config/
> directory which had been split in deference to K&R C (which we no
> longer support.) This should generate marginally smaller code since
> we're making several fewer function calls in each case.
Can we establish (and document in codingconventions.html) a convention for
whether there should be a space between the string constants and the macro
name (that is, whether we use
"foo"HOST_WIDE_INT_PRINT_DEC"bar"
or
"foo" HOST_WIDE_INT_PRINT_DEC "bar"
)? We're getting instances of both in the source, and it would be easiest
to establish a convention now before uses of both are widespread.
--
Joseph S. Myers
jsm28@cam.ac.uk