comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Bug in GCC ?
Date: Mon, 19 May 2008 20:29:22 +0200
Date: 2008-05-19T20:29:22+02:00	[thread overview]
Message-ID: <87abimrvul.fsf@ludovic-brenta.org> (raw)
In-Reply-To: g0s7hc$9bn$1@registered.motzarella.org

Sébastien <seb.morand@gmail.com> writes:
> $ gnatmake -Pgentest -cargs -gnatn
> gcc-4.1 -c -gnat05 -g3 -O2 -gnatn -I- -gnatA
> /var/local/mscm/ada/tests/generic/scmal-tools-hashedmaps.ads
> +===========================GNAT BUG DETECTED==============================+
> | 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu3)
> (i486-pc-linux-gnu) GCC error:|
> | in referenced_var_lookup, at tree-dfa.c:578                              |
[...]
> It works fine if I remove the -gnatn and -O2

This is a known bug: http://gcc.gnu.org/PR22280

It is fixed in 4.2 and later.

-- 
Ludovic Brenta.



  parent reply	other threads:[~2008-05-19 18:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19 15:50 Bug in GCC ? Sébastien
2008-05-19 15:57 ` Matthew Heaney
2008-05-19 16:47   ` Sébastien
2008-05-19 17:41 ` Samuel Tardieu
2008-05-19 18:29 ` Ludovic Brenta [this message]
2008-05-19 19:32   ` Sebastien Morand
2008-05-19 21:56     ` Ludovic Brenta
replies disabled

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