[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#600888: g++-4.4: [armel, fixed in head] gcc may miscompile "x >> 1"



On 21.10.2010 01:43, Nick Lewycky wrote:
Package: g++-4.4
Version: 4.4.5-4
Severity: normal


This version of gcc has a bug where code that does a shift-right
by literal one
may be miscompiled, even at -O0. This is breaking my build of llvm and even
a
gcc bootstrap.
>
Fortunately, there's an unintrusive patch for the problem:

   http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01070.html

which has already been accepted into gcc head, but I didn't see it get
applied
to the release branches. Please add this patch as a debian-local change.

when does this trigger? the testcase succeeds in the debian builds og gcc-4.4 and gcc-4.5, and llvm-2.7 did build too.



Reply to: