Honour DriverOnly for enum values in error messages
commit60a4580750f6c116e4462fe7170d0b7580ac4b35
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jul 2015 05:51:01 +0000 (28 05:51 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jul 2015 05:51:01 +0000 (28 05:51 +0000)
tree1ef7b9ffc5bf028c1d415f83db1aedba306b10bb
parentc14bac81551d6769741c2b1cc55e04d94fe8d3a7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226297 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/opts-common.c