This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2003 19:14:56 -0000
- Subject: [Bug target/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[ forwarded from http://bugs.debian.org/219949 ]
gcc-3.3.2 release:
gcc -march=i386 -fomit-frame-pointer -O2
miscompiles sound/core/oss/rate.c in Linux 2.6.0-test9.
I've attached the preprocessed source that demonstrates the
problem.
In the assembly output with -S, look for the 5th label in
get_s16_labels.0. That label should do a word load, but
instead it does a double word load:
.L4:
movl (%ebp), %eax
jmp .L111
--
Summary: linux-2.6/sound/core/oss/rate.c miscompiled
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
CC: gcc-bugs at gcc dot gnu dot org,herbert at gondor dot
apana dot org dot au
GCC build triplet: 386-linux
GCC host triplet: i386-linux
GCC target triplet: 386-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13041