The error message for a missing argument to -I has disappeared. It used to be: gcc: argument to '-I' is missing Now a cryptic message is issued: cc1: fatal error: /home/eric/build/gcc/native32/gcc/../lib/gcc/i586-suse-linux/4.6.0/: No such file or directory compilation terminated. As a matter of fact, the Ada compiler is also affected.
> Now a cryptic message is issued: > > cc1: fatal error: > /home/eric/build/gcc/native32/gcc/../lib/gcc/i586-suse-linux/4.6.0/: No such > file or directory > compilation terminated. This was for an uninstalled compiler. For an installed one: cc1: warning: t.c: not a directory [enabled by default] and the compiler waits indefinitely.
Testing a patch.
Author: jsm28 Date: Fri Feb 11 18:13:11 2011 New Revision: 170056 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170056 Log: 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. Added: trunk/gcc/testsuite/gcc.dg/opts-6.c Modified: trunk/gcc/ChangeLog trunk/gcc/gcc.c trunk/gcc/opts-common.c trunk/gcc/testsuite/ChangeLog
Fixed for 4.6.0.