aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-match-head.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-10-29 08:16:44 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-10-29 08:16:44 +0000
commit384aedfcf16640be3b3250743304207f63d4cde9 (patch)
tree15cf66a3f3a85b75ab2acbfb36e08ca55b54cb55 /gcc/gimple-match-head.c
parent73eb5e9ee140383c7dcbf57f88b57a4e92ded46d (diff)
downloadgcc-384aedfcf16640be3b3250743304207f63d4cde9.zip
gcc-384aedfcf16640be3b3250743304207f63d4cde9.tar.gz
gcc-384aedfcf16640be3b3250743304207f63d4cde9.tar.bz2
gimple-match-head.c (gimple_simplify): Remove premature checking of builtin_decl_implicit of function calls we simplify.
2015-10-29 Richard Biener <rguenther@suse.de> * gimple-match-head.c (gimple_simplify): Remove premature checking of builtin_decl_implicit of function calls we simplify. fortran/ * f95-lang.c: Properly build variadic types for classification and comparison builtins. From-SVN: r229515
Diffstat (limited to 'gcc/gimple-match-head.c')
-rw-r--r--gcc/gimple-match-head.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/gimple-match-head.c b/gcc/gimple-match-head.c
index 6c26f79..51016b5 100644
--- a/gcc/gimple-match-head.c
+++ b/gcc/gimple-match-head.c
@@ -752,7 +752,6 @@ gimple_simplify (gimple *stmt,
tree decl = TREE_OPERAND (fn, 0);
if (DECL_BUILT_IN_CLASS (decl) != BUILT_IN_NORMAL
- || !builtin_decl_implicit (DECL_FUNCTION_CODE (decl))
|| !gimple_builtin_call_types_compatible_p (stmt, decl))
return false;