Opened 9 months ago

Closed 8 months ago

#1662 closed defect (fixed)

Error in generated C for invalid call to rest_arg_out_of_bounds_error

Reported by: sjamaan Owned by: sjamaan
Priority: critical Milestone: 5.2
Component: compiler Version: 5.1.0
Keywords: Cc:
Estimated difficulty: easy

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)));}

Attachments (1)

rest_args.patch (1.4 KB) - added by sjamaan 9 months ago.

Download all attachments as: .zip

Change History (3)

Changed 9 months ago by sjamaan

Attachment: rest_args.patch added

comment:1 Changed 9 months ago by sjamaan

Patch works, as confirmed by Sven.

comment:2 Changed 8 months ago by evhan

Resolution: fixed
Status: assignedclosed

Fixed by 1179da6629589a57487b6bd8028f871fa636a43f.

Note: See TracTickets for help on using tickets.