This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix gcc.c-torture/execute/991014-1.c for mingw-w64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]