PR# 19070 [RJ] Request for SPECIAL.put to check the array bounds even if finalized.

Problem Report Summary
Submitter: axarosenberg
Category: Compiler
Priority: Medium
Date: 2015/05/11
Class: Feature Request
Severity: Non-critical
Number: 19070
Release: 15.01.9.6535
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Synopsis: [RJ] Request for SPECIAL.put to check the array bounds even if finalized.

Description
This is request to add an ECF option to allow us to keep the precondition on SPECIAL.put (and extend) when the program is finalized.  The rationale is that if we call put with a bad index, the result could damage run-time structures which would be very hard to debug.  Even worse, it could damage data which may not be detected at all.

It would have to be as fast as possible.  Clearly this is an experiment.  If the performance hit is too large we may never use this.  It is unclear at this time whether we would also want the same behavior on SPECIAL.item or anything else.  I can imagine that we may want three options.  Never check, check writes only or check both reads and writes.

   Randy
To Reproduce

										
Problem Report Interactions