Summary

Error in generated C for invalid call to rest_arg_out_of_bounds_error

Metadata

Attachments

Description

Reported by Sven Hartrumpf, an issue with 5.2.0 RC1:

 'gcc-8' 'nallch.c' -o 'nallch.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -O1 -march=nehalem
 -I/usr/local/chicken-5.2.0-64/include/chicken
 nallch.c: In function f_574889
 nallch.c:924744: error: invalid use of void expression
  f_606388(t2,lf[908],C_rest_arg_out_of_bounds_error(C_fix(0),C_fix(0),C_fix(0)));}

Changes and comments

[2020-01-16 16:19:16 UTC] sjamaan attached rest_args.patch (description=#f)

[2020-01-16 16:19:33 UTC] sjamaan wrote:

Patch works, as confirmed by Sven.

[2020-01-19 03:31:11 UTC] evhan changed status from assigned to closed

[2020-01-19 03:31:11 UTC] evhan set resolution to fixed

[2020-01-19 03:31:11 UTC] evhan wrote:

Fixed by 1179da6629589a57487b6bd8028f871fa636a43f.