This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada question about PR 18434
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: Laurent GUERBY <laurent at guerby dot net>,Robert Dewar <dewar at adacore dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 5 Oct 2005 15:25:32 +0200
- Subject: Re: Ada question about PR 18434
- References: <1128112128.12250.124.camel@pc.site> <17219.49581.482371.898541@manam.TechFak.Uni-Bielefeld.DE>
> Now the question is how to fix this for real.
As far as I can see, the binder is indeed generating a call to
osint__m___elabb before osint___elabb, so this is probably working elsewhere
because Running_Program is probably initialized by the loader.
I would suggest reducing the bug as much as possible and opening a
PR in bugzilla.
A possible work around (cleaner than the one suggested by Laurent) would
be to add a pragma Elaborate_Body in osint.ads
Arno