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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Fedja Beader Newsgroups: comp.lang.ada Subject: Re: GNAT proposal: note on implicit exceptions insertion Date: Tue, 12 Feb 2019 23:31:14 +0100 Organization: A noiseless patient Spider Message-ID: <20190212233114.3695f826@blackbox.int> References: <21f5f1ca-eabe-4ce6-9ee0-5d308d7676ff@googlegroups.com> <17375128-e016-4366-91ff-cd68f74689b3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: reader02.eternal-september.org; posting-host="89e4cd1310efd99153df78a17ed03017"; logging-data="6101"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Df/2d8TKaSZvJfbA1digW" Cancel-Lock: sha1:3E+gqtbTTs85IpFAXfNqMdENKpY= Xref: reader01.eternal-september.org comp.lang.ada:55505 Date: 2019-02-12T23:31:14+01:00 List-Id: On Mon, 11 Feb 2019 23:28:09 -0800 (PST) Mark Lorenzen wrote: > pragma Restrictions (No_Exception_Propagation) This pragma is default in embedded ZFP context and causes the programmer to be overflowed with "... may call last_chance_handler" warnings. I have an Integer Put procedure where every other line results in this warning being emitted. This happens even though I changed the source code such that no call to last_chance_handler is present in the resulting binary. This warning shouldn't be disabled entirely, as it is very useful.