Skip to content

bfc hangs due to compile-time evaluation #28

@BambooL

Description

@BambooL

I am trying to compile the following code with bfc -O2:
. + [[ [[ >. [+ [<>]]] >]<>+ .]>< ,-.,,+++[]---]

But it shows warning:

24852.bf:1:26 warning: This instruction moves the pointer after the last cell (99999), to cell 100000.
  . + [[ [[ >. [+ [<>]]] >]<>+ .]>< ,-.,,+++[]---]
                         ^

But no exit. It should fall into some infinite loop or similar things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions