[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"



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.

Thanks!

Nick Lewycky

-- System Information:
Debian Release: squeeze/sid
��APT prefers unstable
��APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armel (armv7l)

Kernel: Linux 2.6.32.9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages g++-4.4 depends on:
ii �gcc-4.4 � � � � � � � � � 4.4.5-4 � � � �The GNU C compiler
ii �gcc-4.4-base � � � � � � �4.4.5-4 � � � �The GNU Compiler Collection (base�
ii �libc6 � � � � � � � � � � 2.11.2-6 � � � Embedded GNU C Library: Shared lib
ii �libgcc1 � � � � � � � � � 1:4.4.5-4 � � �GCC support library
ii �libgmp3c2 � � � � � � � � 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii �libmpfr4 � � � � � � � � �3.0.0-2 � � � �multiple precision floating-point�
ii �libstdc++6-4.4-dev � � � �4.4.5-4 � � � �The GNU Standard C++ Library v3 (d

g++-4.4 recommends no packages.

Versions of packages g++-4.4 suggests:
pn �gcc-4.4-doc � � � � � � � � � <none> � � (no description available)
pn �libstdc++6-4.4-dbg � � � � � �<none> � � (no description available)

-- no debconf information


Reply to: