aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@kss-loka.si>2006-04-14 07:01:18 +0200
committerUros Bizjak <uros@gcc.gnu.org>2006-04-14 07:01:18 +0200
commit39b1ec97f0445bcc6e960de32e7b82011f0161ca (patch)
tree921e8632d08bdb1418b18a6c4687b775cf30868e /gcc/builtins.c
parent880864cfc6ea6e4ba41a5404ba8e4cc133a2a861 (diff)
downloadgcc-39b1ec97f0445bcc6e960de32e7b82011f0161ca.zip
gcc-39b1ec97f0445bcc6e960de32e7b82011f0161ca.tar.gz
gcc-39b1ec97f0445bcc6e960de32e7b82011f0161ca.tar.bz2
re PR middle-end/27134 (ICE with floor and -ffast-math)
PR middle-end/27134 * builtins.c (expand_builtin_int_roundingfn): Use expand_normal() to expand fallback builtin function call. testsuite/ChangeLog: PR middle-end/27134 * gcc.dg/pr27314.c: New test. From-SVN: r112949
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index c4d7ec2..836f965 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -2312,7 +2312,7 @@ expand_builtin_int_roundingfn (tree exp, rtx target, rtx subtarget)
gcc_assert (fallback_fndecl != NULL_TREE);
exp = build_function_call_expr (fallback_fndecl, arglist);
- tmp = expand_builtin_mathfn (exp, NULL_RTX, NULL_RTX);
+ tmp = expand_normal (exp);
/* Truncate the result of floating point optab to integer
via expand_fix (). */