Yunzhe Zhang

Results 11 issues of Yunzhe Zhang

When I build using cheerp, I encounter similar problem as [https://github.com/leaningtech/cheerp-meta/issues/115](url) This is my source file. I try to reduce it thus helping your bug tracing ``` #include union {...

I think this is a build fault and I can reproduce is on cheerp 2.7 and nightly version. Please take a look as well. [build_segmentation_fault.zip](https://github.com/leaningtech/cheerp-meta/files/9130172/build_segmentation_fault.zip)

[issue.zip](https://github.com/leaningtech/cheerp-meta/files/9116977/issue.zip) When I use a pointer to overwrite the value of a field in a struct, another field is modified unexpected.

[extend_signed_bit_field_error.zip](https://github.com/leaningtech/cheerp-meta/files/9117128/extend_signed_bit_field_error.zip) When extend signed bit field in union, cheerp seem to use the original value directly, without extend the sign bit.

[bit_field_initialize_fail.zip](https://github.com/leaningtech/cheerp-meta/files/9117009/bit_field_initialize_fail.zip) Please look at this bug as well, I don't know why I can't initialize the bit filed in union. Note that if the type of variable b is long...

[emi_compile_timeout.zip](https://github.com/leaningtech/cheerp-meta/files/9819911/emi_compile_timeout.zip) We found a case which causes timeout in O2 and O3. You can try to reproduce it.

I find a strange situation when compiling a C program with both infinite loop and printf . Code is as follows: ``` #include int a = 1; int main() {...

[crash_infinite_loop_2.zip](https://github.com/leaningtech/cheerp-meta/files/9762763/crash_infinite_loop_2.zip) Another case that can cause segmentation fault, which seems different to the later.

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](https://github.com/leaningtech/cheerp-meta/files/9757856/crash-bug-10-11.zip)

For example, I have a function with such signature ``` type NodePatchParam struct { ID uint `path:"id"` models.Node } func PatchNode(c *gin.Context, nodePatchParam *NodePatchParam) (*NodeResponse, error) ``` So the schemas...