OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of
[pf3gnuchains/gcc-fork.git]
/
gcc
/
tree.c
diff --git
a/gcc/tree.c
b/gcc/tree.c
index
2cfcde2
..
1af25cb
100644
(file)
--- a/
gcc/tree.c
+++ b/
gcc/tree.c
@@
-6029,7
+6029,7
@@
tree_fold_gcd (tree a, tree b)
while (1)
{
- a_mod_b = fold (build2 (
CEIL
_MOD_EXPR, type, a, b));
+ a_mod_b = fold (build2 (
FLOOR
_MOD_EXPR, type, a, b));
if (!TREE_INT_CST_LOW (a_mod_b)
&& !TREE_INT_CST_HIGH (a_mod_b))