Skip to content

Maximum call stack size exceeded when compiling optimised code #1324

Closed
@alexvictoor

Description

@alexvictoor

I get a weird error when compiling my code with optimisation flags -O3 --noAssert
Unfortunately I have not succeed reproducing the issue with a simple code fragment...
My codebase is in this repository: https://github.com/alexvictoor/HdrHistogramJS

If I run "npm run asbuild:optimized" adding a --noAssert flag compilation fails.
If I remove the call to clz() and replace it by the commented code fragment below, everything is fine...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions