Summary
inlining of procedures with rest-arg promoted to vector will fail
Metadata
- Id: 3dc3f5ac3a7e705eb654a19273906d68ca7e5acb
- Trac id: 145
- Type: defect
- Reporter: felix
- Owner: felix
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty:
- Resolution: fixed
- Priority: critical
- Milestone:
- Version: 4.2.x
- Changetime: 2010-03-11 10:33:12 UTC
- Created: 2009-12-12 14:24:26 UTC
- Keywords: rest-argument inlining
Description
Reported by Sven Hartrumpf: inlining of procedures which have a rest-argument promoted to vector will fail, since the accessors accept a rest-vector, but the inlined arglist will be a list.
Either disable promotion for inlinable/contractable procedures or modify the call site at inlining accordingly (harder).
Changes and comments
[2009-12-13 12:40:24 UTC] felix changed status from new to accepted
[2009-12-15 15:00:42 UTC] iraikov changed milestone from 4.3.0 to 4.4.0
[2009-12-23 23:37:16 UTC] felix changed status from accepted to closed
[2009-12-23 23:37:16 UTC] felix set resolution to fixed
[2009-12-23 23:37:16 UTC] felix wrote:
This optimization has been removed in cc3c804a25419f46d20681e17c9f3e8b3763ac0d