[LLVMbugs] [Bug 1520] NEW: Miscompilation (?) of Ruby 1.8.6
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jun 19 20:47:21 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1520
Summary: Miscompilation (?) of Ruby 1.8.6
Product: tools
Version: 2.0
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: OneSadCookie at gmail.com
llvm-gcc 2.0 appears to miscompile Ruby 1.8.6, though I don't understand the source one bit, so
maybe it's just relying on something undefined in the language that it shouldn't...
CC=llvm-gcc ./configure; make; ./ruby -e 'begin; raise "hi"; rescue; retry; end'
exits with
-e:1: retry outside of rescue clause
the second time around, where it should loop indefinitely. Compiled with the regular Apple GCC 4.0.1,
it works fine.
This on an Intel Mac under 10.4.9 with the Xcode tools 2.4.1.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list