[Bug other/13680] gcc ignores illegal double-dash command line options

mike_lange at despammed dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 14 18:22:00 GMT 2004


------- Additional Comments From mike_lange at despammed dot com  2004-01-14 18:22 -------
(In reply to comment #1)
> "--foo" is equivalent to "-ffoo".  The meaning of -f options depends on the 
> language to compile, which depends on the name of the input file. 

gcc -c test.c -o test.o
gcc --y --blahhh -fuhhhh test.o -o test

[test.c is some valid c-code]

So, I'd say gcc ignores illegal double-dash(or -f..) command line options *if* 
the input file is named test.o!




-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13680



More information about the Gcc-bugs mailing list