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: [PATCH] fix PR ada/42978


On 7 Feb 2010, at 19:39, Arnaud Charlet wrote:

>> Patch tested in gcc version 4.5.0 20100131 (experimental) [trunk revision 156398] (GCC) (x64_64-apple-darwin10.2.0).
>> 
>> OK for trunk?
> 
> +            for I in Ranlib_Options.all'Range loop
> 
> we never use I (can be confused with 1). You can use J instead.
> 
> Also, we use Ranlib_Options'Range, without the explicit .all
> 
> +               Write_Str  (Ranlib_Options.all (I).all);
> 
> Same here.

OK, second try.

Tested on gcc version 4.5.0 20100207 (experimental) [trunk revision 156574] (GCC).

2010-02-07  Simon Wright  <simon@pushface.org>

	PR ada/42978
	* mlib-utl.adb (Ar): Output ranlib options if verbose.


Attachment: gcc-ada-mlib-utl.adb.diff
Description: Binary data


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