diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-12 19:41:51 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-12 19:41:51 +0000 |
commit | 9bc9f15f056bcd0072f900e956420ea8d4d3fe2f (patch) | |
tree | 7e11e3760e9116204227c10877ce045689c9dece /gcc/fortran/data.c | |
parent | a31bd8a4ae47473ca1985ac4c21d44ce3426aba9 (diff) | |
download | gcc-9bc9f15f056bcd0072f900e956420ea8d4d3fe2f.tar.gz |
* fold-const.c (omit_two_operands): New function.
* tree.h (omit_two_operands): Prototype here.
* builtins.c (fold_builtin_unordered_cmp): New function to lower
C99 unordered comparison builtins to the appropriate tree nodes.
(fold_builtin_1): Use fold_builtin_unordered_cmp to lower
BUILT_IN_ISGREATER, BUILT_IN_ISGREATEREQUAL, BUILT_IN_ISLESS,
BUILT_IN_ISLESSEQUAL and BUILT_IN_ISLESSGREATER. Manually lower
BUILT_IN_ISUNORDERED comparisons to an UNORDERED_EXPR tree node.
(simplify_builtin_memcmp, simplify_builtin_strncmp,
simplify_builtin_strncat, simplify_builtin_strspn): Use the new
omit_two_operands function to build the required COMPOUND_EXPRs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83040 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/data.c')
0 files changed, 0 insertions, 0 deletions