This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR ada/71358
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Simon Wright <simon at pushface dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 Jun 2016 09:20:05 +0200
- Subject: Re: [PATCH] Fix PR ada/71358
- Authentication-results: sourceware.org; auth=none
- References: <E44EA75C-4FCD-45CD-8151-1E1587B6848D at pushface dot org>
> This fixes a minor problem where GNAT.Command_Line.Getopt raises CE if
> there are in fact no program-specified options (only the
> internally-supplied -h, --help are meant to be available).
>
> Tested on GCC 6.1.0, x86_64-apple-darwin15.
>
> If OK, can someone commit it (I can't).
>
> gcc/ada/Changelog:
>
> 2016-05-31 Simon Wright <simon@pushface.org>
>
> PR ada/71358
> * g-comlin.adb: bump copyright year.
> (Display_Section_Help): don't deference Config.Switches if
> it's null.
> (Getopt): likewise.
Patch is OK.
Arno