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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,87135ae0055089bb,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-31 02:38:51 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Compiler bug or illegal code for entry_family? Date: Wed, 31 Mar 2004 10:38:50 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1080729530 5483 217.17.192.37 (31 Mar 2004 10:38:50 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Wed, 31 Mar 2004 10:38:50 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: archiver1.google.com comp.lang.ada:6688 Date: 2004-03-31T10:38:50+00:00 List-Id: procedure gnat_gigi_116 is type Entries is range 1 .. 16; protected type X is entry Call(Entries); end X; protected body X is entry Call(for e in Entries) when True is i : Entries := e; begin null; end Call; end X; begin null; end gnat_gigi_116; gcc -c gnat_gigi_116.adb +===========================GNAT BUG DETECTED==============================+ | 3.3.2 (i686-pc-linux-gnu) Gigi abort, Code=116 | | Error detected at gnat_gigi_116.adb:11:24 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | concatenated together with no headers between files. | +==========================================================================+ Please include these source files with error report gnat_gigi_116.adb compilation abandoned gnatmake: "gnat_gigi_116.adb" compilation error Should I submit a bug report or fix my code? Obvious fix: procedure gnat_gigi_116 is type Entries is range 1 .. 16; protected type X is entry Call(Entries)(i : Entries); end X; protected body X is entry Call(for e in Entries)(i : Entries) when True is begin null; end Call; end X; begin null; end gnat_gigi_116;