leaningtech/cheerp-meta

Compilation Crash

zyz9740 opened this issue · 2 comments

Maybe other one with infinite loop and printf, but this time conpilation crash occurs.

I submit the trigger directly. You can take a try.

crash-bug-10-11.zip

I do reproduce, even with nightly version.
This seems to be unconnected to #127.

The raised assertion is in the register allocator, here: https://github.com/leaningtech/cheerp-compiler/blob/master/llvm/lib/CheerpUtils/Registerize.cpp#L232, but will need to be further inspected.

This is fixed in the currently live nightly version of Cheerp. Thanks for reporting this.