[LLVMbugs] [Bug 4629] New: quest test case generator finds possible bugs in clang and llvmc on x86-64

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jul 26 11:15:34 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4629

           Summary: quest test case generator finds possible bugs in clang
                    and llvmc on x86-64
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Keywords: compile-fail, miscompilation
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: lee_thomas at lthomas.net
                CC: llvmbugs at cs.uiuc.edu


I had a few idle cycles on my cluster and was playing around and ran llvmc and
clang on the output of quest - the test-case generator. I used quest rev. 21,
with no special input or options. Before I realized I should stop it I had over
10000 failed test cases, 100 or so of which I've attached. I have no experience
in compilers and have no idea whether these are bugs in llvm, bugs in quest,
useless, or what... But I figured I would attach a few to let you guys know I
have a heck of a lot more if you want them. 
        I don't have time to sort out exactly where these go wrong, but see
llvm_tester_log.txt in the attached for the concatenated log of my script
culled for the cases I've attached... It indicates what happened (clang
crashed, llvmc crashed, produced code which crashed, etc). I ran both clang and
llvmc with no optimization or other flags... just e.g. clang input.c -ooutput. 
        All of the ones I've listed here fail on one of llvm 2.5 Release build
(from FreeBSD Ports), or clang 1.0 (from the same port), or llvm trunk rev.
77158 Debug build, on both FreeBSD 7.2-STABLE amd64. llvm_tester_log indicates
which, and see versions.txt in the attached for the --version output of each. I
also ran most of these on the llvmc package on Ubuntu 9.04 (kernel 2.6.28-13)
x86-64 on my laptop as a quick check... the vast majority failed as well,
though there were slight differences (e.g. producing bad code instead of
failing to compile, or vice-versa.)
        Let me know if you want the rest of the test set, or if you have
another set you'd like run... Never know when I might be able to squeeze
something in between jobs.


-- 
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