This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]