Bug in sha512 digest with -march=native -mtune=native -m64

Ian Abbott abbotti at mev.co.uk
Thu Jun 20 12:01:57 CEST 2013


On 2013/06/20 09:16 AM, Werner Koch wrote:
> On Thu, 20 Jun 2013 07:48, pgut001 at cs.auckland.ac.nz said:
> 
>> I've had any problems since.  You don't lose much -O with -O2 (and in 
> 
> FWIW, the reason I switched to -O3 (if configured with
> --enable-maintainer-mode) is
> 
> 2009-10-12  Werner Koch
> 
>        * configure.ac: Use -O3 because newer gcc versions require that
>        for uninitialized variable warnings.
> 
> Which is a quite helpful warning.

Possibly fixed in gcc-4.4.

http://gcc.gnu.org/gcc-4.4/changes.html says:

Uninitialized warnings do not require enabling optimization anymore,
that is, -Wuninitialized can be used together with -O0. Nonetheless, the
warnings given by -Wuninitialized will probably be more accurate if
optimization is enabled.

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>             )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587              )=-



More information about the Gnupg-devel mailing list