X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fc-objc-common.c;h=760c11018c8fc5041a3136ad90e20792523412a9;hb=f38e9908a187124e506ee74ec2e4dc9dd7669d65;hp=d4ad1f89f26849ab2c9c8cc89fee83894c28c29c;hpb=a0c938f0e74166de102281ac2f445e4be5ff257e;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/c-objc-common.c b/gcc/c-objc-common.c index d4ad1f89f26..760c11018c8 100644 --- a/gcc/c-objc-common.c +++ b/gcc/c-objc-common.c @@ -135,16 +135,6 @@ c_objc_common_init (void) want an enhanced ObjC implementation. */ diagnostic_format_decoder (global_dc) = &c_tree_printer; - /* If still unspecified, make it match -std=c99 - (allowing for -pedantic-errors). */ - if (mesg_implicit_function_declaration < 0) - { - if (flag_isoc99) - mesg_implicit_function_declaration = flag_pedantic_errors ? 2 : 1; - else - mesg_implicit_function_declaration = 0; - } - return true; } @@ -255,7 +245,7 @@ c_initialize_diagnostics (diagnostic_context *context) int c_types_compatible_p (tree x, tree y) { - return comptypes (TYPE_MAIN_VARIANT (x), TYPE_MAIN_VARIANT (y)); + return comptypes (TYPE_MAIN_VARIANT (x), TYPE_MAIN_VARIANT (y)); } /* Determine if the type is a vla type for the backend. */