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,c80d4e18b9b4ba0,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-20 18:50:37 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news-peer.gradwell.net!not-for-mail Newsgroups: comp.lang.ada From: porton@ex-code.com (Victor Porton) Date: Tue, 21 Jan 2003 07:06:00 +0500 Organization: Extreme Code Software (http://ex-code.com) Subject: Bug: compiler hangs on circular type dependency Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Content-Type: text/plain; charset=us-ascii X-URL: http://www.ex-code.com/ Message-ID: <3e2cb563$0$33929$bed64819@news.gradwell.net> NNTP-Posting-Date: 21 Jan 2003 02:50:11 GMT NNTP-Posting-Host: 195.149.39.13 X-Trace: 1043117411 news.gradwell.net 33929 mail2news/195.149.39.13 X-Complaints-To: news-abuse@gradwell.net Xref: archiver1.google.com comp.lang.ada:33267 Date: 2003-01-21T02:50:11+00:00 List-Id: This is sent to report@gnat.com and duplicated in comp.lang.ada Gnat (both 3.14 and 3.15) hangs on compiling the following (erraneous) stuff: package P is type A is tagged null record; type B is new A with private; type C is new A with private; private type B is new C with null record; type C is new B with null record; end P; BTW, comp.lang.ada, what in Ada Standard deprecated such circularity? Isn't it forgotten in the Standard itself?