Summary
inlining can break assumptions about contraction
Metadata
- Id: 205e358b63ef2ea4405fcb9bcb505a24ed3ad548
- Trac id: 100
- Type: defect
- Reporter: felix
- Owner:
- Cc:
- Status: closed
- Component: core-pending
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone:
- Version: 4.2.x
- Changetime: 2010-03-11 10:33:12 UTC
- Created: 2009-11-08 00:06:54 UTC
- Keywords: optimizer
Description
When inlining a procedure that contains a call to a contractable (a procedure called only once, which will always be beta-substituted) and the contraction happens in the same optimization pass, then the contraction will take place multiple times resulting in duplicate C function definitions.
This was reported by Jörg Wittenberger.
See commit 5c851ce643b4cd995c7fd467162efdc922c61b83
Changes and comments
[2009-11-18 08:35:15 UTC] felix changed status from new to closed
[2009-11-18 08:35:15 UTC] felix set resolution to fixed
[2009-11-18 08:35:15 UTC] felix wrote:
Merged in version 4.2.5.