comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Another question on class constructor
Date: Tue, 8 Nov 2011 16:40:54 -0800 (PST)
Date: 2011-11-08T16:40:54-08:00	[thread overview]
Message-ID: <13650980.81.1320799254130.JavaMail.geo-discussion-forums@yqiu15> (raw)
In-Reply-To: <j9abcr$ld5$1@munin.nbi.dk>

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.



  reply	other threads:[~2011-11-09  1:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08  2:27 Another question on class constructor Rego, P.
2011-11-08  4:32 ` Randy Brukardt
2011-11-09  0:40   ` Rego, P. [this message]
2011-11-09  1:08     ` Rego, P.
2011-11-09  8:30     ` Simon Wright
2011-11-10  1:25       ` Rego, P.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox