[Bug ada/71358] GNAT.Command_Line.Getopt fails if there are no switches
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 1 07:44:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71358
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Wed Jun 1 07:44:10 2016
New Revision: 236976
URL: https://gcc.gnu.org/viewcvs?rev=236976&root=gcc&view=rev
Log:
PR ada/71358
* g-comlin.adb (Display_Section_Help): Do not dereference
Config.Switches if it's null.
(Getopt): Likewise.
Modified:
branches/gcc-6-branch/gcc/ada/ChangeLog
branches/gcc-6-branch/gcc/ada/g-comlin.adb
More information about the Gcc-bugs
mailing list