aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 61f8f69..854cd73 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -541,6 +541,7 @@ c_decode_option (argc, argv)
flag_no_nonansi_builtin = 1;
flag_noniso_default_format_attributes = 0;
flag_isoc99 = 0;
+ flag_iso = 1;
}
else if (!strcmp (argstart, "iso9899:199409"))
{
@@ -558,6 +559,7 @@ c_decode_option (argc, argv)
flag_noniso_default_format_attributes = 0;
flag_isoc99 = 1;
flag_isoc94 = 1;
+ flag_iso = 1;
}
else if (!strcmp (argstart, "gnu89"))
{
@@ -636,6 +638,8 @@ c_decode_option (argc, argv)
;
else if (!strcmp (p, "-ansi"))
goto iso_1990;
+ else if (!strcmp (p, "-undef"))
+ flag_undef = 1;
else if (!strcmp (p, "-Werror-implicit-function-declaration"))
mesg_implicit_function_declaration = 2;
else if (!strncmp (p, "-Wformat=", 9))