Re: [Rd] i may have missed something ..

From: Jan de Leeuw <deleeuw_at_cuddyvalley.org>
Date: Sat 27 Jan 2007 - 22:17:53 GMT

verified -- jan

On Jan 27, 2007, at 14:01 , Simon Urbanek wrote:

>
> On Jan 26, 2007, at 11:22 AM, Jan de Leeuw wrote:
>
>> Switching the icc compiler flag from -O3 to -O0 for deriv.c solves
>> the problem. As I said, I have to do that for regex.c as well.
>>
>
> Just for the record - the latter is due to a bug in the regex code:
> one of the functions is declared "pure" even though it has a side-
> effect. If I remember correctly, re_string_fetch_byte_case was the
> culprit (it uses re_string_fetch_byte macro which modifies the
> index pointer of the parameter and thus is NOT pure).
>
> Jan, can you verify that, please? (Please remove __attribute
> ((pure)) for re_string_fetch_byte_case in line 473) My icc license
> expired..
>
> Thanks,
> Simon
>
>
>> -- Jan
>>
>> On Jan 26, 2007, at 07:52 , Prof Brian Ripley wrote:
>>
>>> Ouch. It does look like a compiler over-optimization sort of
>>> problem.
>>>
>>> I presume that is the ix86 icc, with which we have not had much
>>> success on either Linux or Windows. I've just checked x86_64 icc on
>>> Linux, and that is working correctly.
>>>
>>> Brian
>>>
>>>
>>
>> ==========================================================
>> Jan de Leeuw, 11667 Steinhoff Rd, Frazier Park, CA 93225
>> home 661-245-1725 skype 661-347-0667 global 254-381-4905
>> .mac: jdeleeuw +++ aim: deleeuwjan +++ skype: j_deleeuw
>>
>> ______________________________________________
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>



Jan de Leeuw, 11667 Steinhoff Rd, Frazier Park, CA 93225 home 661-245-1725 skype 661-347-0667 global 254-381-4905 .mac: jdeleeuw +++ aim: deleeuwjan +++ skype: j_deleeuw

        [[alternative HTML version deleted]]



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun Jan 28 09:19:07 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 28 Jan 2007 - 06:31:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.