re PR ada/71358 (GNAT.Command_Line.Getopt fails if there are no switches)
authorSimon Wright <simon@pushface.org>
Wed, 1 Jun 2016 07:43:57 +0000 (07:43 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 1 Jun 2016 07:43:57 +0000 (07:43 +0000)
commite4b631a5a80b0fe254b3e9a747df697780748c12
tree7c1472e866876626eaf9991b779bebf823d17f2a
parent827cf695d993e269221ab2eacab5e492e5a19b48
re PR ada/71358 (GNAT.Command_Line.Getopt fails if there are no switches)

PR ada/71358
* g-comlin.adb (Display_Section_Help): Do not dereference
Config.Switches if it's null.
(Getopt): Likewise.

From-SVN: r236975
gcc/ada/ChangeLog
gcc/ada/g-comlin.adb