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

           Summary: BrainF example fails with assertion failure
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Running hello.bf with -jit works (it prints the hello world message), but there
is an assertion failure when it quits:

$ Release/examples/BrainF  hello.bf -jit
------- Running JIT -------
Hello World!
While deleting: i32 (i32)* %putchar
An asserting value handle still pointed to this value!
Aborted

Running it without the JIT doesn't print anything, and there is no assertion
failure either:
$ Release/examples/BrainF  hello.bf

hello.bf contains this (as a single line), which is the example from Wikipedia:
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

I don't know when this bug was introduced, I just noticed it.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to