Fix gcc.c-torture/execute/991014-1.c for mingw-w64
Ozkan Sezer
sezeroz@gmail.com
Fri Feb 19 08:23:00 GMT 2010
On Fri, Feb 19, 2010 at 2:34 AM, Janis Johnson <janis187@us.ibm.com> wrote:
> On Tue, 2010-02-02 at 17:29 +0200, Ozkan Sezer wrote:
>> On Tue, Feb 2, 2010 at 5:23 PM, Kai Tietz <ktietz70@googlemail.com> wrote:
>> > 2010/2/2 Ozkan Sezer <sezeroz@gmail.com>:
>> >>> 991014-1.patch fixes a long overflow, but 991014-1-2.patch produces
>> >>> less warnings.
>> >>>
>> >>> I don't know if the patch causes any complications for other platforms.
>> >>
>> >> Wouldn't be the attached one more appropriate?
>> >>
>> >> --
>> >> Ozkan
>> >>
>> >
>> > Thanks, Ozkan.
>> >
>> > Yes this is indeed the better solution for this.
>> >
>> > Cheers,
>> > Kai
>> >
>> > PS: This is no approve, but it is an obvious fix.
>>
>> Feel free to apply. Cheers.
>
> Please submit the patch with a ChangeLog entry and I'll apply it.
>
> Janis
>
>
Hmm, something in the line of the following should do?
2010-02-19 Ozkan Sezer <sezeroz@gmail.com>
* gcc.c-torture/execute/991014-1.c: Use __SIZE_TYPE__ for size
types instead of unsigned long, fixing LLP64 systems.
--
Ozkan
More information about the Gcc-patches
mailing list