From: Simon Wright <simon@pushface.org>
Subject: Re: ANNOUNCE: GNAT 3.15p release
Date: 19 Nov 2002 21:37:48 +0000
Date: 2002-11-19T21:37:48+00:00 [thread overview]
Message-ID: <x7vwun96y1f.fsf@smaug.pushface.org> (raw)
In-Reply-To: ard2ba$6hr$1@s1.read.news.oleane.net
"J�r�me Haguet" <jeje66@despammed.com> writes:
> We faced a small problem with gnat 3.15p and -s switch for gnatmake.
> For some compiler switches combinations, it does not recongnize that this is
> the same combination.
> See example above.
> This occurs with linux and windows versions.
>
> Did I miss some changes in this new version ?
> Did I miss something in the documentation ?
I know this problem occurs on 3.15a1 built for Linux from sources, but
thought it was fixed for 3.15a1 binary for Windows. I believe it's
fixed for Linux in a 3.16 wavefront, but that won't help 3.15p users!
(the Linux/Windows business above may be down to my misinterpretation
of an ACT remark and the symptoms, of course. I did wonder why there
would be a difference ..)
For what it's worth, the problem also exists in GCC 3.3 -- at least if
you use any optimisation.
smaug.pushface.org[19]$ gnatmake -c -u -s -g user.adb -gnatwaL -f
gcc -c -g -gnatwaL user.adb
user.adb:10:18: warning: condition is always False
user.adb:17:16: warning: condition is always False
smaug.pushface.org[20]$ gnatmake -c -u -s -g user.adb -gnatwaL
gnatmake: object up to date.
smaug.pushface.org[21]$ gnatmake -c -u -s -g user.adb -gnatwaL -O2
gcc -c -g -gnatwaL -O2 user.adb
user.adb:10:18: warning: condition is always False
user.adb:17:16: warning: condition is always False
smaug.pushface.org[22]$ gnatmake -c -u -s -g user.adb -gnatwaL -O2
gcc -c -g -gnatwaL -O2 user.adb
user.adb:10:18: warning: condition is always False
user.adb:17:16: warning: condition is always False
You see that [20] correctly realised there was nothing to do.
next prev parent reply other threads:[~2002-11-19 21:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 17:31 ANNOUNCE: GNAT 3.15p release Arnaud Charlet
2002-11-19 6:03 ` tmoran
2002-11-19 10:55 ` Georg Bauhaus
2002-11-19 19:00 ` tmoran
2002-11-20 0:37 ` tmoran
2002-11-22 10:41 ` Georg Bauhaus
2002-11-22 17:08 ` tmoran
2002-11-19 21:20 ` tmoran
2002-11-19 22:46 ` Martin Dowie
2002-11-19 23:23 ` tmoran
2002-11-22 10:39 ` Georg Bauhaus
2002-11-19 10:04 ` J�r�me Haguet
2002-11-19 11:24 ` David C. Hoos, Sr.
2002-11-19 11:54 ` Duncan Sands
2002-11-19 13:25 ` J�r�me Haguet
2002-11-19 14:19 ` David C. Hoos
2002-11-19 11:25 ` David C. Hoos, Sr.
2002-11-19 21:37 ` Simon Wright [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-22 6:58 tmoran
2002-11-22 10:38 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox