https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89556
Bug ID: 89556 Summary: error when using "with Priority" Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: lyttlec at gmail dot com Target Milestone: --- Created attachment 45871 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45871&action=edit tared sporadics.ads, sporadics.adb, and gpr file Example code is from "Analysable Real-Time Systems Programmed in Ada" by Alan Burns and Andy Wellings, Chap. 20 pg 472-473. Ubuntu 18.10 distribution gnat-7 had a frozen error here. The below error is in both the version gnat-8 distributed in Ubuntu and in a new download from AdaCore. +===========================GNAT BUG DETECTED==============================+ | Community 2018 (20180524-73) (x86_64-pc-linux-gnu) GCC error: | | in gnat_to_gnu_entity, at ada/gcc-interface/decl.c:429 | | Error detected at sporadics.ads:30:23 | | Please submit a bug report by email to rep...@adacore.com. | | GAP members can alternatively use GNAT Tracker: | | http://www.adacore.com/ section 'send a report'. | | See gnatinfo.txt for full info on procedure for submitting 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. | | Use plain ASCII or MIME attachment(s). | +==========================================================================+ 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 compilation abandoned