summaryrefslogtreecommitdiff
path: root/gcc/fixed-value.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2008-12-09 10:42:41 +0000
committerAndrew Haley <aph@gcc.gnu.org>2008-12-09 10:42:41 +0000
commit30da611174c5fe050203f6ff0faa237c522f96ff (patch)
tree313ca7904b15a0726151fda796478590e5a2afa6 /gcc/fixed-value.c
parent6f9f0ce349db8290053b5e3cd8b7b117cb47aaad (diff)
fixed-value.c (do_fixed_add): Add comment.
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. From-SVN: r142589
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