PR driver/47678
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Feb 2011 18:13:11 +0000 (18:13 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Feb 2011 18:13:11 +0000 (18:13 +0000)
commit5585cfe812b2c31639f3739d934bc94233cf2e04
tree11b96690599d55f55bbd47567e194d7fc6f13d42
parentbb308a953b3973f0d0dbfa17cf03b4a4484ad852
PR driver/47678
* gcc.c (main): Do not compile inputs if there were errors in
option handling.
* opts-common.c (read_cmdline_option): Check for wrong language
after other error checks.

testsuite:
* gcc.dg/opts-6.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170056 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcc.c
gcc/opts-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/opts-6.c [new file with mode: 0644]