summaryrefslogtreecommitdiff
path: root/gcc/fixed-value.c
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-09 10:42:41 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-09 10:42:41 +0000
commit57510da6e9a4e4531a9c885b964eb91b28d12b10 (patch)
tree313ca7904b15a0726151fda796478590e5a2afa6 /gcc/fixed-value.c
parent3a2a1581bf444ee7b777251663df927b7cf97a67 (diff)
downloadgcc-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.c2
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