Skip to content

Illegal instruction (core dumped) with function pointers #3812

Closed
@dckc

Description

@dckc

code is in https://gist.github.com/3913762 (is there a better way to attach it?)

the problem is somewhere during the call to
bobMainPurse.deposit(10, aliceMainPurse);

With that line commented out, it runs.

deposit involves passing around function pointers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions