This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Clean up in handling of -gnatdA
- From: ja2morri at csclub dot uwaterloo dot ca (James A. Morrison)
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Robert Dewar <dewar at adacore dot com>
- Date: 08 Dec 2004 10:36:09 -0500
- Subject: Re: [Ada] Clean up in handling of -gnatdA
- References: <20041208111854.GF3904@adacore.com>
Arnaud Charlet <charlet@adacore.com> writes:
> Tested on x86-linux, committed on mainline.
>
> Previously, if debug flag A was set, then in Repinfo, -gnatR3m mode was
> set, but in some cases this is too late. For example, a compiler crash
> could occur if switches -gnatdA and -gnatc were used without -gnatR. This
> minor change cleans things up so that -gnatR3m mode is set at the start of
> execution of the compiler, eliminating these anomolies.
>
> 2004-12-07 Robert Dewar <dewar@adacore.com>
>
> * debug.adb: Document that -gnatdA automatically sets -gnatR3m
>
> * gnat1drv.adb (Gnat1drv): If debug flag A set, then automatically
> set -gnatR3m mode.
>
> * repinfo.adb (List_Rep_Info): Remove special handling of -gnatdA
> flag. No longer needed now that we handle this in gnat1drv.adb.
>
> * repinfo.ads: Minor reformatting
Do you have a testcase for this crash?
--
Thanks,
Jim
http://www.student.cs.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim