From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f71c159449d6e114 X-Google-Attributes: gid103376,public From: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Ada 83 - avoiding unchecked conversions. Date: 1996/12/19 Message-ID: #1/1 X-Deja-AN: 204981574 references: <32AED68A.48BE@aisf.com> organization: The Mitre Corp., Bedford, MA. newsgroups: comp.lang.ada Date: 1996-12-19T00:00:00+00:00 List-Id: In article <32B6905F.FC4@tiac.net> Eric Miller writes: > I used to work at the same company as a guy who was having > problems with a program that ran (essentially in batch) for > several hours. One of his optimizations was to switch all the > unchecked conversions to conversions using overlays. Apparently > on that compiler (VAX Ada 1.something) unchecked conversion was > doing some checks. As I remember it, early versions of VAX Ada flushed stored state in the compiler in a couple of cases where it later turned out not to be needed. As I remember it, two cases were on all statement labels and on all subprogram calls, even if inlined. This caused the stack pointer to be reloaded. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...