summaryrefslogtreecommitdiff
path: root/gcc/c-typeck.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-29 05:24:01 -0700
committerYamaArashi <shadow962@live.com>2016-04-29 05:24:01 -0700
commitfb026be50ef59b1affc44b9d46cf50c9bafe6bf5 (patch)
tree75527f7920a023c4be3da3b5dae8e302931b9323 /gcc/c-typeck.c
parent4bd39ff94b984ff6531ffc8a533e947dff9812aa (diff)
remove format checking
Diffstat (limited to 'gcc/c-typeck.c')
-rwxr-xr-xgcc/c-typeck.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index d5a77d6..807dfcf 100755
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -1560,11 +1560,6 @@ build_function_call (function, params)
coerced_params
= convert_arguments (TYPE_ARG_TYPES (fntype), params, name, fundecl);
- /* Check for errors in format strings. */
-
- if (warn_format && (name || assembler_name))
- check_function_format (name, assembler_name, coerced_params);
-
/* Recognize certain built-in functions so we can make tree-codes
other than CALL_EXPR. We do this when it enables fold-const.c
to do something useful. */