fixed-value.c (do_fixed_add): Add comment.
authorAndrew Haley <aph@redhat.com>
Tue, 9 Dec 2008 10:42:41 +0000 (10:42 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Tue, 9 Dec 2008 10:42:41 +0000 (10:42 +0000)
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

gcc/ChangeLog
gcc/builtins.c
gcc/fixed-value.c
gcc/tree-ssa-loop-ivopts.c

index db5ed5b10a684680465b12221538329606ce0d4a..6f4c937cbfc02fe4db140f8aaebb46b337f52003 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2008-12-09  Kai Tietz  <kai.tietz@onevision.com>
 
        PR/38366
index 63ca618a3848fe098e76032e236db327a3844a6d..745a125fe70772f540f93633d9813f3e2dbce315 100644 (file)
@@ -7681,6 +7681,8 @@ fold_builtin_sqrt (tree arg, tree type)
          tree arg0 = CALL_EXPR_ARG (arg, 0);
          tree tree_root;
          /* The inner root was either sqrt or cbrt.  */
+         /* This was a conditional expression but it triggered a bug
+            in the Solaris 8 compiler.  */
          REAL_VALUE_TYPE dconstroot;
          if (BUILTIN_SQRT_P (fcode))
            dconstroot = dconsthalf;
index 26aaa023c84085cf378169d974347530b7cc3f5e..d7f6413b29a6a91bcdcc7c7f76d4f431b056f15a 100644 (file)
@@ -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
index 00594432bc0598d4d038764d178ab4fbb64c5f75..683d7d4b5fafdbed6912afd0b62013a543dd5323 100644 (file)
@@ -4355,6 +4355,8 @@ iv_ca_add_use (struct ivopts_data *data, struct iv_ca *ivs,
 static comp_cost
 iv_ca_cost (struct iv_ca *ivs)
 {
+  /* This was a conditional expression but it triggered a bug in the
+     Solaris 8 compiler.  */
   if (ivs->bad_uses)
     return infinite_cost;
   else