diff options
author | Bin Cheng <bin.cheng@arm.com> | 2012-02-09 09:37:37 +0000 |
---|---|---|
committer | Bin Cheng <amker@gcc.gnu.org> | 2012-02-09 09:37:37 +0000 |
commit | 15ed19ff324f45494d471b65c321804f1858cd26 (patch) | |
tree | db7d4b5e98e0256791ba9060dc4a2afcabda31a3 /gcc/builtins.c | |
parent | 365e6b65dd15fb533ae641820ce820347d67596e (diff) | |
download | gcc-15ed19ff324f45494d471b65c321804f1858cd26.zip gcc-15ed19ff324f45494d471b65c321804f1858cd26.tar.gz gcc-15ed19ff324f45494d471b65c321804f1858cd26.tar.bz2 |
re PR middle-end/51867 (GCC generates inconsistent code for same sources calling builtin calls, like sqrtf)
PR target/51867
* builtins.c (expand_builtin): Don't check DECL_ASSEMBLER_NAME_SET_P.
PR target/51867
* testsuite/c-c++-common/dfp/signbit-2.c: Change '-O0' to '-O1'.
* testsuite/gcc.dg/pr51867.c: New test.
From-SVN: r184037
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 74be552..cf49561 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -5776,7 +5776,6 @@ expand_builtin (tree exp, rtx target, rtx subtarget, enum machine_mode mode, set of builtins. */ if (!optimize && !called_as_built_in (fndecl) - && DECL_ASSEMBLER_NAME_SET_P (fndecl) && fcode != BUILT_IN_ALLOCA && fcode != BUILT_IN_ALLOCA_WITH_ALIGN && fcode != BUILT_IN_FREE) |