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]

[PATCH] Fix PR ada/71358


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.

Attachment: g-comlin.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]