Summary
Error in generated C for invalid call to rest_arg_out_of_bounds_error
Metadata
- Id: dfa7502a8362414518caeb0be8eac82bb69982c0
- Trac id: 1662
- Type: defect
- Reporter: sjamaan
- Owner: sjamaan
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty: easy
- Resolution: fixed
- Priority: critical
- Milestone: 5.2
- Version: 5.1.0
- Changetime: 2020-01-19 03:31:11 UTC
- Created: 2020-01-15 15:20:17 UTC
- Keywords:
Attachments
- dfa7502a8362414518caeb0be8eac82bb69982c0/attachments/rest_args.patch
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.