From: Simon Wright <simon@pushface.org>
Subject: Re: Another question on class constructor
Date: Wed, 09 Nov 2011 08:30:07 +0000
Date: 2011-11-09T08:30:07+00:00 [thread overview]
Message-ID: <m2ty6dbsvk.fsf@pushface.org> (raw)
In-Reply-To: 13650980.81.1320799254130.JavaMail.geo-discussion-forums@yqiu15
"Rego, P." <pvrego@gmail.com> writes:
> 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. |
Have you done that?
I get the same here, also with GCC 4.6.0, but not with 4.7 [180524] so
_may_ already be fixed in AdaCore's sources.
When you see a bug box like this, it's definitely a compiler error;
whether it's because it doesn't handle your legal code, or because it
fails to detect your illegal code and give a proper error report, it's
still wrong!
next prev parent reply other threads:[~2011-11-09 8:30 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.
2011-11-09 1:08 ` Rego, P.
2011-11-09 8:30 ` Simon Wright [this message]
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