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=0.7 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c71d0b53277efb27 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.0.170 with SMTP id 10mr492379pbf.2.1320800796613; Tue, 08 Nov 2011 17:06:36 -0800 (PST) Path: h5ni14589pba.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: "Rego, P." Newsgroups: comp.lang.ada Subject: Re: Another question on class constructor Date: Tue, 8 Nov 2011 16:40:54 -0800 (PST) Organization: http://groups.google.com Message-ID: <13650980.81.1320799254130.JavaMail.geo-discussion-forums@yqiu15> References: <19338900.553.1320719246503.JavaMail.geo-discussion-forums@yqpp12> Reply-To: comp.lang.ada@googlegroups.com NNTP-Posting-Host: 200.148.121.196 Mime-Version: 1.0 X-Trace: posting.google.com 1320800796 8711 127.0.0.1 (9 Nov 2011 01:06:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 9 Nov 2011 01:06:36 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=200.148.121.196; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu User-Agent: G2/1.0 X-Google-Web-Client: true Xref: news1.google.com comp.lang.ada:18872 Content-Type: text/plain; charset=ISO-8859-1 Date: 2011-11-08T16:40:54-08:00 List-Id: I had tried it before, but keep returning a compilation error: raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:423 gnatmake: "c:\tst\test_pkg_rev618.adb" compilation error [2011-11-08 22:15:32] process exited with status 4 (elapsed time: 00.20s) What should it be? Actually, I got a suggestion looked like this in some posts ago and I was trying to follow it. Now I realize that I was not making wrong (I thought this error message was due to some mistake in my code). And I guess this is a GNAT bug from GNAT GPL 2011: c:\tst>gnatmake -gnat12 test_pkg.adb gcc -c -gnat12 test_pkg.adb +===========================GNAT BUG DETECTED==============================+ | GPL 2011 (20110428) (i686-pc-mingw32) GCC error: | | in create_tmp_var, at gimplify.c:505 | | Error detected around test_pkg.adb:20:29 | | Please submit a bug report by email to report@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 gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | | Use plain ASCII or MIME attachment. | +==========================================================================+ 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). test_pkg.adb test_pkg.ads raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:423 gnatmake: "test_pkg.adb" compilation error -- and if I don't use the switch -gnat12 the error message is the same.