This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11087] New: gcc miscompiles raid1.c from linux kernel
- From: "marcus at jet dot franken dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jun 2003 08:17:28 -0000
- Subject: [Bug target/11087] New: gcc miscompiles raid1.c from linux kernel
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11087
Summary: gcc miscompiles raid1.c from linux kernel
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: marcus@jet.franken.de
CC: gcc-bugs@gcc.gnu.org
GCC build triplet: powerpc-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
both the ppc32->ppc64 crosscompiler and the ppc64 native compiler in version
3.2 + ppc64 patches 20020823, and gcc-3.3 with 20030513 patchset miscompile
the function raid1_read_balance() in drivers/md/raid1.c of the linux kernel.
I have extract a standalone testcase, which segfaults when run.
(disk is 1, while its maximum is 0)
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.