This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/11087] New: gcc miscompiles raid1.c from linux kernel


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]