diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-27 14:01:27 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-27 14:01:27 +0000 |
commit | f549b28db58e79eb1edce3a640bfa890bef1c6f6 (patch) | |
tree | 8bf61b8be7e8989d8c213faaeb4fb64ab0561c76 /gcc/tree.h | |
parent | 11d686e25f7f40db2e4161ab80ff70021169a33f (diff) | |
download | gcc-f549b28db58e79eb1edce3a640bfa890bef1c6f6.tar.gz |
2007-06-27 Richard Guenther <rguenther@suse.de>
PR middle-end/32492
* tree.h (fold_convertible_p): Declare.
* fold-const.c (fold_convertible_p): New function.
* gimplify.c (gimplify_call_expr): Use fold_convertible_p
instead of lang_hooks.types_compatible_p.
* gcc.dg/inline-22.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index 28169d7a543..942ab5f14d4 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -4444,6 +4444,7 @@ extern tree fold_build2_initializer (enum tree_code, tree, tree, tree); extern tree fold_build3_initializer (enum tree_code, tree, tree, tree, tree); extern tree fold_build_call_array (tree, tree, int, tree *); extern tree fold_build_call_array_initializer (tree, tree, int, tree *); +extern bool fold_convertible_p (tree, tree); extern tree fold_convert (tree, tree); extern tree fold_single_bit_test (enum tree_code, tree, tree, tree); extern tree fold_ignored_result (tree); |