Eliminating redundant range checks in GNAT using symbolic evaluation

  • Authors:
  • Johann Blieberger;Bernd Burgstaller

  • Affiliations:
  • Department of Computer-Aided Automation, Technical University Vienna, Vienna, Austria;Department of Computer-Aided Automation, Technical University Vienna, Vienna, Austria

  • Venue:
  • Ada-Europe'03 Proceedings of the 8th Ada-Europe international conference on Reliable software technologies
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

Implementation of a strongly typed language such as Ada95 requires range checks in the presence of array index expressions and assignment statements. Range checks that cannot be eliminated by the compiler must be executed at run-time, inducing execution time and code size overhead. In this work we propose a new approach for eliminating range checks that is based on symbolic evaluation. Type information provided by the underlying programming language is heavily exploited.