driver: fix a problem with implementation of -falign-foo=0 [PR96247]
authorHu Jiangping <hujiangping@cn.fujitsu.com>
Mon, 27 Jul 2020 17:22:23 +0000 (18:22 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 27 Jul 2020 17:22:23 +0000 (18:22 +0100)
commitd60758c74af849539f5dd71a8456eea954c0f674
tree30041717acac7b6eb2c18ab19255227fcd69541f
parent8939cef9512704dfd18d97ad3e66d6ce233e9452
driver: fix a problem with implementation of -falign-foo=0 [PR96247]

This patch makes the -falign-foo=0 work as described in the
documentation. Thanks for all the suggestions.

Changelog:
2020-07-27  Hu Jiangping  <hujiangping@cn.fujitsu.com>

PR driver/96247
* opts.c (check_alignment_argument): Set the -falign-Name
on/off flag on and set the -falign-Name string value null,
when the command-line specified argument is zero.
gcc/opts.c