Description
Bugzilla Link | 4629 |
Resolution | FIXED |
Resolved on | Feb 09, 2010 00:03 |
Version | trunk |
OS | FreeBSD |
Attachments | Test cases produced by quest on which clang or llvmc fail. |
Reporter | LLVM Bugzilla Contributor |
CC | @efriedma-quic |
Extended Description
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.