[LLVMbugs] [Bug 3529] New: clang/x86_64 miscompiles MultiSource/Benchmarks/mediabench/ adpcm/rawcaudio/rawcaudio
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Feb 9 15:03:09 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3529
Summary: clang/x86_64 miscompiles
MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/rawcau
dio
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang/x86_64 miscompiles
MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/rawcaudio
The generated executable does not function correctly:
--
ddunbar at lordcrumb:rawcaudio$ Output/rawcaudio.llc < ../data/clinton.pcm
input file: Invalid argument
--
This appears to be a misoptimization, compiling without -O3 works:
--
ddunbar at lordcrumb:rawcaudio$ xcc -std=gnu89
-I/Volumes/Data/ddunbar/llvm/projects/test-suite/MultiSource/Benchmarks/mediabench/adpcm/rawcaudio
-I/Users/ddunbar/llvm/projects/test-suite/MultiSource/Benchmarks/mediabench/adpcm/rawcaudio
-I/Users/ddunbar/llvm/include -I/Users/ddunbar/llvm/projects/test-suite/include
-I../../../../../include -I/Users/ddunbar/llvm/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -DNDEBUG -m64 -mllvm -disable-llvm-optzns
-mdynamic-no-pic -fomit-frame-pointer rawcaudio.c adpcm.c
ddunbar at lordcrumb:rawcaudio$ ./a.out < ../data/clinton.pcm > /dev/null
Final valprev=4085, index=8
ddunbar at lordcrumb:rawcaudio$ xcc -std=gnu89
-I/Volumes/Data/ddunbar/llvm/projects/test-suite/MultiSource/Benchmarks/mediabench/adpcm/rawcaudio
-I/Users/ddunbar/llvm/projects/test-suite/MultiSource/Benchmarks/mediabench/adpcm/rawcaudio
-I/Users/ddunbar/llvm/include -I/Users/ddunbar/llvm/projects/test-suite/include
-I../../../../../include -I/Users/ddunbar/llvm/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -DNDEBUG -m64 -mllvm -disable-llvm-optzns
-mdynamic-no-pic -fomit-frame-pointer rawcaudio.c adpcm.c -O3
ddunbar at lordcrumb:rawcaudio$ ./a.out < ../data/clinton.pcm > /dev/null
input file: Invalid argument
--
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list