Honour DriverOnly for enum values in error messages
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Tue, 28 Jul 2015 05:51:01 +0000 (05:51 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 28 Jul 2015 05:51:01 +0000 (05:51 +0000)
commit85d91a6bd4327466242568b4ccb1269d39e2fc3c
tree1ef7b9ffc5bf028c1d415f83db1aedba306b10bb
parentd5e9bac57fe9afb37c83748b8bde9831f8a589e0
Honour DriverOnly for enum values in error messages

/gcc/ChangeLog

* opts-common.c (read_cmdline_option): List DriverOnly enum values as
valid only in the error message of the driver, not in the messages of
the language compilers.

From-SVN: r226297
gcc/ChangeLog
gcc/opts-common.c