gcc.c (driver_unknown_option_callback): Only permit and save unknown -Wno- options.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 22 Mar 2011 22:19:01 +0000 (22:19 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 22 Mar 2011 22:19:01 +0000 (22:19 +0000)
commit66017846ecd165a4bbc8bd414adfee622551ccf5
treee7a92293cb8f4b6b6d4cc0cf3576affafacecb3e
parente8b97ccd59010685e183b437b1f192e01e2809ad
gcc.c (driver_unknown_option_callback): Only permit and save unknown -Wno- options.

* gcc.c (driver_unknown_option_callback): Only permit and save
unknown -Wno- options.
(driver_wrong_lang_callback): Save options directly instead of via
driver_unknown_option_callback.

From-SVN: r171307
gcc/ChangeLog
gcc/gcc.c