Summary
disable specialization for assigned toplevel variables
Metadata
- Id: 8ffd7e53afae1d5bcfd1fb318117f9a8ecef9c29
- Trac id: 745
- Type: defect
- Reporter: felix
- Owner: felix
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone:
- Version: 4.7.x
- Changetime: 2016-01-11 09:03:39 UTC
- Created: 2011-12-13 13:23:41 UTC
- Keywords: specialization
Description
Redefinition of assigned variables should disable specialization for those functions. This is not as simple as it sounds, since it would disable all specialization in the core system. It means we need a special build-mode or feature-ID to prevent non-specialization when compiling the core system.
Changes and comments
[2015-10-31 21:14:34 UTC] sjamaan wrote:
Aren't assigned toplevel variables already disabled from specialization?
At least, #1219 seems to suggest exactly the disabling of specializations in core that you warn about here.
[2015-11-01 01:19:27 UTC] felix changed status from new to closed
[2015-11-01 01:19:27 UTC] felix set resolution to fixed
[2015-11-01 01:19:27 UTC] felix wrote:
Yes, I think this ticket is obsolete.
[2015-11-18 16:23:24 UTC] sjamaan changed status from closed to reopened
[2015-11-18 16:23:24 UTC] sjamaan removed resolution fixed
[2015-11-18 16:23:24 UTC] sjamaan wrote:
It turns out that #1219 is caused by a separate bug
[2016-01-11 09:03:33 UTC] sjamaan wrote:
I think this is not necessary anymore with CHICKEN 5, where everything will be properly namespaced.