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!feeder.eternal-september.org!aioe.org!.POSTED.y+y/jmgrRHgg9pqfwoS6ww.user.gioia.aioe.org!not-for-mail From: russ lyttle Newsgroups: comp.lang.ada Subject: Re: Gnat Problem - Freezing too soon Date: Fri, 1 Mar 2019 16:35:33 -0500 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: y+y/jmgrRHgg9pqfwoS6ww.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:55755 Date: 2019-03-01T16:35:33-05:00 List-Id: On 3/1/19 1:10 PM, Simon Wright wrote: > 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. > I downloaded from AdaCore early this morning and got the same results as with gnat-8 in Ubuntu. I've requested a login so I can post the bug, but haven't got a reply. Burns & Wellings use the same idiom several places. Results differ for task type, protected type, etc., but all similar types give the same result.