[LLVMbugs] [Bug 4406] New: BrainF example fails with assertion failure

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 17 09:58:34 PDT 2009


           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: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu

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!

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.

More information about the llvm-bugs mailing list