[Bug target/40786] Windows %I32 format confusion
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 22 16:44:00 GMT 2009
------- Comment #6 from joseph at codesourcery dot com 2009-08-22 16:43 -------
Subject: Re: Windows %I32 format confusion
On Sat, 22 Aug 2009, ktietz at gcc dot gnu dot org wrote:
> This patch can solve this. There are two possible ways to solve this.
> First) Extend format_length_info by an new field to specify if identity in size
> is ok for check.
> Second) Do the check within the format_length_info loop and check here for
> I32/I64.
>
> This patch implements solution 2.
>
> Any comments on it?
I believe the first solution is better. We generally try to avoid
hardcoded references to particular formats, length specifiers etc. within
the checking code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40786
More information about the Gcc-bugs
mailing list