This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Clean up in handling of -gnatdA


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]