From ripley at stats.ox.ac.uk  Mon Apr 10 11:06:08 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon, 10 Apr 2006 10:06:08 +0100 (BST)
Subject: [Rd] make check of R-alpha_2006-04-08_r37675 fails: qbeta
In-Reply-To: <m0irphak6k.fsf@bar.nemo-project.org>
References: <m0wtdyanzp.fsf@bar.nemo-project.org>
	<x2y7yevjsp.fsf@turmalin.kubism.ku.dk>
	<Pine.LNX.4.64.0604092050370.13534@gannet.stats.ox.ac.uk>
	<x23bgmmohi.fsf@turmalin.kubism.ku.dk>
	<m0irphak6k.fsf@bar.nemo-project.org>
Message-ID: <Pine.LNX.4.64.0604100958350.2901@gannet.stats.ox.ac.uk>

Since that compiler is not even the last in the 3.3.x series, and there 
are now three later (released) gcc series, I think we have to write that 
off to an optimization bug in gcc 3.3.x.

On Mon, 10 Apr 2006, Bj?rn-Helge Mevik wrote:

> Peter Dalgaard wrote:
>
>> I don't see it with a current version either. What happens if you
>> reduce the optimization level? (I've tried both "-g" and -g "-O3").
>> Is that -std=gnu99 bit necessary?

(No, but it helps get fast C99 functions from the OS rather than slow 
substitutes.)

> My gcc is gcc (GCC) 3.3.5 (Debian 1:3.3.5-13).
>
> I've now tried with ./configure CFLAGS="-g [-O|-O2|-O3] [-std=gnu99]",
> i.e. with every combination from "-g" to "-g -O3 -std=gnu99".  The
> error occured if and only if -O2 or -O3 was used.
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] make check of R-alpha_2006-04-08_r37675 fails: qbeta
Prof Brian Ripley