Bug#785475: arm64 shift+rotate optimization bug

2015-05-29 Thread Charles Baylis
On Sat, 16 May 2015 20:47:34 +0200 Magnus Holmgren holmg...@debian.org wrote: Package: gcc-4.9 Version: 4.9.2-16 I think I may have discovered an optimizer bug that results in incorrect code when building nettle. The Camellia cipher contains code similar to the following, which reproduces

Bug#785475: arm64 shift+rotate optimization bug

2015-05-16 Thread Magnus Holmgren
Package: gcc-4.9 Version: 4.9.2-16 I think I may have discovered an optimizer bug that results in incorrect code when building nettle. The Camellia cipher contains code similar to the following, which reproduces the bug: #include stdint.h #define ROTL32(n,x) (((x)(n)) | ((x)(-(n)31))) #define

Bug#785475: arm64 shift+rotate optimization bug

2015-05-16 Thread Magnus Holmgren
BTW, gcc-5 5.1.1-5 is not affected. -- Magnus Holmgrenholmg...@debian.org Debian Developer signature.asc Description: This is a digitally signed message part.