diff options
author | Diego Novillo <dnovillo@redhat.com> | 2001-08-31 16:34:44 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2001-08-31 12:34:44 -0400 |
commit | a8231a01c193af82b8b6f4b4d8a6bb8da82894a9 (patch) | |
tree | 4c22d3e637f85915c9e02e719c8363a7e21b4dbd /gcc/c-decl.c | |
parent | 43898541b920dbcb8e3d24179cae3436a9c8b281 (diff) | |
download | gcc-a8231a01c193af82b8b6f4b4d8a6bb8da82894a9.zip gcc-a8231a01c193af82b8b6f4b4d8a6bb8da82894a9.tar.gz gcc-a8231a01c193af82b8b6f4b4d8a6bb8da82894a9.tar.bz2 |
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index b81b38b..af61377 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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; |