--- Comment #9 from ktietz at gcc dot gnu dot org 2009-10-30 17:52 ---
Well, I meant of course 4.4 branch. I won't backport this. So I closed this
bug.
--
ktietz at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #8 from ktietz at gcc dot gnu dot org 2009-08-24 06:20 ---
Patch fixed for 4.5 at revision 151047.
I would like to backport this patch to 4.4 and possibly to 4.3 branch, too?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40786
--
ktietz at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |ktietz at gcc dot gnu dot
|dot org
--- Comment #7 from ktietz at gcc dot gnu dot org 2009-08-22 17:30 ---
Created an attachment (id=18414)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18414&action=view)
Patch using format_length_info member variable
Ok, here is the version using format_length_info to marked the sc
--- 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
--- 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_lengt
--- Comment #4 from ktietz at gcc dot gnu dot org 2009-08-21 19:22 ---
As to see on Wiki
http://en.wikipedia.org/wiki/Printf#printf_format_placeholders
%I32 means, for integer types, causes to expect a 32-bit (double word) integer
argument. May tests have shown that long type and int ty
--- Comment #3 from ktietz at gcc dot gnu dot org 2009-08-18 11:32 ---
Is there a way to make %I32 accepting both types?
Something like FMT_LEN_z?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40786
--- Comment #2 from sezeroz at gmail dot com 2009-07-19 09:33 ---
Problem also exists in 4.4.0/4.4.1.
--
sezeroz at gmail dot com changed:
What|Removed |Added
--- Comment #1 from ktietz at gcc dot gnu dot org 2009-07-19 08:55 ---
I agree, that the behavior isn't correct here. %I32 is treated at the moment as
equivalent for %l width specifier. But in fact is the type __int32 specifying
an integer scalar with 32-bit width. For x86 and x64, where
10 matches
Mail list logo