[Bug target/40786] Windows %I32 format confusion

ktietz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Aug 22 10:07:00 GMT 2009



------- Comment #5 from ktietz at gcc dot gnu dot org  2009-08-22 10:07 -------
Created an attachment (id=18412)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18412&action=view)
Suggested patch

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?

Cheers,
Kai


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40786



More information about the Gcc-bugs mailing list