diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-09 10:42:41 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-09 10:42:41 +0000 |
commit | 57510da6e9a4e4531a9c885b964eb91b28d12b10 (patch) | |
tree | 313ca7904b15a0726151fda796478590e5a2afa6 /gcc/fixed-value.c | |
parent | 3a2a1581bf444ee7b777251663df927b7cf97a67 (diff) | |
download | gcc-57510da6e9a4e4531a9c885b964eb91b28d12b10.tar.gz |
2008-12-09 Andrew Haley <aph@redhat.com>
* fixed-value.c (do_fixed_add): Add comment.
* tree-ssa-loop-ivopts.c (iv_ca_cost): Likewise.
* builtins.c (fold_builtin_sqrt): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142589 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixed-value.c')
-rw-r--r-- | gcc/fixed-value.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fixed-value.c b/gcc/fixed-value.c index 26aaa023c84..d7f6413b29a 100644 --- a/gcc/fixed-value.c +++ b/gcc/fixed-value.c @@ -295,6 +295,8 @@ do_fixed_add (FIXED_VALUE_TYPE *f, const FIXED_VALUE_TYPE *a, double_int temp; int i_f_bits; + /* This was a conditional expression but it triggered a bug in the + Solaris 8 compiler. */ if (subtract_p) temp = double_int_neg (b->data); else |