mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 06:50:27 +08:00
builtins.c (fold_builtin_copysign): Delete unreachable code.
* builtins.c (fold_builtin_copysign): Delete unreachable code. From-SVN: r111615
This commit is contained in:
parent
6d69fe271f
commit
8acb1b3d1c
@ -1,3 +1,7 @@
|
||||
2006-03-01 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* builtins.c (fold_builtin_copysign): Delete unreachable code.
|
||||
|
||||
2006-03-01 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR target/25761
|
||||
|
@ -8208,9 +8208,9 @@ fold_builtin_copysign (tree fndecl, tree arglist, tree type)
|
||||
|
||||
c1 = TREE_REAL_CST (arg1);
|
||||
c2 = TREE_REAL_CST (arg2);
|
||||
/* c1.sign := c2.sign. */
|
||||
real_copysign (&c1, &c2);
|
||||
return build_real (type, c1);
|
||||
c1.sign = c2.sign;
|
||||
}
|
||||
|
||||
/* copysign(X, Y) is fabs(X) when Y is always non-negative.
|
||||
|
Loading…
x
Reference in New Issue
Block a user