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