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/13041] New: linux-2.6/sound/core/oss/rate.c miscompiled


[ 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


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