[Darwin] Fix two off-by-one errors in the driver.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 19 Jun 2019 16:07:58 +0000 (16:07 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 19 Jun 2019 16:07:58 +0000 (16:07 +0000)
commit33f0ad50f48cefeec7f3136e30229c9f85bbd372
tree90a9613d1f69f51efe83ec63a1a1a3caf3f87fed
parent742f80b15861510ad14b46f24a81157041b7acf0
[Darwin] Fix two off-by-one errors in the driver.

2019-06-19  Iain Sandoe  <iain@sandoe.co.uk>

        * config/darwin-driver.c (darwin_driver_init): Fix off-by-one errors
        in computing the number of options to be moved.

From-SVN: r272479
gcc/ChangeLog
gcc/config/darwin-driver.c