[Ada] Initialize gnat_argc/gnat_argv only the first time
authorPhilippe Gil <gil@adacore.com>
Tue, 20 Aug 2019 09:47:53 +0000 (09:47 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 20 Aug 2019 09:47:53 +0000 (09:47 +0000)
commitfdacd614f4162311af0e60a02e6ff6b47ba809a5
tree1e4cf5d3f2c86c45dfa0bf9404ab7255c793747e
parente1976249a2f4ddf0d98952c2394db9b1e2c634a6
[Ada] Initialize gnat_argc/gnat_argv only the first time

2019-08-20  Philippe Gil  <gil@adacore.com>

gcc/ada/

* bindgen.adb (Gen_Main): Set gnat_argc/gnat_argv to argc/argv
only when still uninitialized.

From-SVN: r274716
gcc/ada/ChangeLog
gcc/ada/bindgen.adb