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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Gnat Problem - Freezing too soon Date: Fri, 01 Mar 2019 18:10:30 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="453b12542e43f2d42d4bd218badb160f"; logging-data="919"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+U39USdFDozdSK2NXdJ60O8ElP1lUE/5c=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:olNPXDOqBtGzx3xLueHf+Kwixfo= sha1:5oZFQi9YqZs+q/g09R/tyXlImjU= Xref: reader01.eternal-september.org comp.lang.ada:55751 Date: 2019-03-01T18:10:30+00:00 List-Id: russ lyttle writes: > +=======================GNAT BUG DETECTED==============================+ > | 8.2.0 (x86_64-linux-gnu) GCC error: | > | in gnat_to_gnu_entity, at ada/gcc-interface/decl.c:425 | > | Error detected at sporadics.ads:44:23 | > | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | > | Use a subject line meaningful to you and us to track the bug. | > | Include the entire contents of this bug box in the report. | > | Include the exact command that you entered. | > | Also include sources listed below. | > +==========================================================================+ > > Please include these source files with error report > Note that list may not be accurate in some cases, > so please double check that the problem can still > be reproduced with the set of files listed. > Consider also -gnatd.n switch (see debug.adb). > > /media/russ/Projects/Ada/Analysable_RTS/Chap20/Common/sporadics.adb > /media/russ/Projects/Ada/Analysable_RTS/Chap20/Common/sporadics.ads There's no need to "confirm" this is a bug; an internal compiler error like this is _always_ a bug. Whether reporting it is going to result in any action isn't clear, it may be sufficiently unusual that no one else is likely to encounter it. Or it may be the result of a failure to detect a user error, in which case there may be a workround. If you can demonstrate the same error using GNAT CE 2018, it's worth reporting to report@adacore.com (GNAT in the subject line), which may result in a fix in due course (but probably not for a while). If you were to upload both the sources as requested in the bug box here, we could try to help by checking later compiler releases or looking for a workround.