cheerp-meta icon indicating copy to clipboard operation
cheerp-meta copied to clipboard

Compilation Crash

Open zyz9740 opened this issue 2 years ago • 1 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

zyz9740 avatar Oct 11 '22 16:10 zyz9740

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.

carlopi avatar Oct 12 '22 05:10 carlopi

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

carlopi avatar Oct 24 '22 07:10 carlopi