[PATCH] Fix PR ada/71358
Simon Wright
simon@pushface.org
Tue May 31 19:12:00 GMT 2016
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g-comlin.adb.diff
Type: application/octet-stream
Size: 4603 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160531/ec80e62c/attachment.obj>
More information about the Gcc-patches
mailing list