mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-15 16:10:46 +08:00
c-decl.c (c_decode_option): Skip '-f' prefix before calling dump_switch_p.
* c-decl.c (c_decode_option): Skip '-f' prefix before calling dump_switch_p. From-SVN: r45323
This commit is contained in:
parent
43898541b9
commit
a8231a01c1
@ -1,3 +1,8 @@
|
||||
2001-08-31 Diego Novillo <dnovillo@redhat.com>
|
||||
|
||||
* c-decl.c (c_decode_option): Skip '-f' prefix before calling
|
||||
dump_switch_p.
|
||||
|
||||
2001-08-31 Geoffrey Keating <geoffk@redhat.com>
|
||||
|
||||
* config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
|
||||
|
@ -594,7 +594,7 @@ c_decode_option (argc, argv)
|
||||
flag_no_builtin = 0;
|
||||
else if (!strcmp (p, "-fno-builtin"))
|
||||
flag_no_builtin = 1;
|
||||
else if (dump_switch_p (p))
|
||||
else if (p[0] == '-' && p[1] == 'f' && dump_switch_p (p + 2))
|
||||
;
|
||||
else if (!strcmp (p, "-ansi"))
|
||||
goto iso_1990;
|
||||
|
Loading…
Reference in New Issue
Block a user