64bit: C++ templates

marco atzeri marco.atzeri@gmail.com
Mon May 27 14:40:00 GMT 2013


Il 5/27/2013 3:22 PM, Corinna Vinschen ha scritto:
> On May 27 14:49, marco atzeri wrote:
>> Il 5/27/2013 1:15 PM, Corinna Vinschen ha scritto:
>>> On May 27 12:59, marco atzeri wrote:
>>>> Il 5/27/2013 12:42 PM, Corinna Vinschen ha scritto:
>>>>> On May 27 12:22, marco atzeri wrote:
>>>>>> Il 5/27/2013 11:53 AM, Corinna Vinschen ha scritto:
>>>>>>>
>>>>>>> And worse, the problem goes away when building without optimization.
>>>>>>> There might be another GCC bug lurking in the background...
>>>>>>>
>>>>>>
>>>>>> Probably there is more than one.
>>>>>> I hit a gcc-4.8 optimization bug testing slang, the workaround
>>>>>> was to build the 64 bit package without any optimization.
>>>>>
>>>>> slang is written in c++?
>>>>
>>>> in C
>>>
>>> And you built it with the default -mcmodel=medium, I assume.  Well,
>>> it's not that gcc would be entirely bug free and 4.8.1 is lurking
>>> around the corner already.  Any chance to create a simple testcase?
>>
>> default -mcmodel=medium
>>
>> Slang is a small library and the failure is
>> during "make check" when UTF8 is not used
>>
>> http://mailman.jedsoft.org/pipermail/slang-users-l/2013/000788.html
>
> Hmm.  For some reason that reminds me of the problem we had with the
> localtime changes two weeks ago.  Just out of curiosity, would you mind
> to try an optimized build again, but this time add the -fwrapv option?

it works, thanks

>
>> about the test, I need to look, but I will wait after 4.8.1
>
> Sure, that's fine.
>
>
> Thanks,
> Corinna
>



More information about the Cygwin-developers mailing list