Commit c4e93e28 by Andrew Haley Committed by Andrew Haley

builtins.c, [...]: Fix comments.

2008-12-19  Andrew Haley  <aph@redhat.com>

	* builtins.c, tree-ssa-loop-ivopts.c, fixed-value.c:
	Fix comments.

From-SVN: r142839
parent 007403f3
2008-12-19 Andrew Haley <aph@redhat.com>
* builtins.c, tree-ssa-loop-ivopts.c, fixed-value.c:
Fix comments.
2008-12-19 Richard Earnshaw <rearnsha@arm.com> 2008-12-19 Richard Earnshaw <rearnsha@arm.com>
PR target/38548 PR target/38548
...@@ -7682,7 +7682,7 @@ fold_builtin_sqrt (tree arg, tree type) ...@@ -7682,7 +7682,7 @@ fold_builtin_sqrt (tree arg, tree type)
tree tree_root; tree tree_root;
/* The inner root was either sqrt or cbrt. */ /* The inner root was either sqrt or cbrt. */
/* This was a conditional expression but it triggered a bug /* This was a conditional expression but it triggered a bug
in the Solaris 8 compiler. */ in Sun C 5.5. */
REAL_VALUE_TYPE dconstroot; REAL_VALUE_TYPE dconstroot;
if (BUILTIN_SQRT_P (fcode)) if (BUILTIN_SQRT_P (fcode))
dconstroot = dconsthalf; dconstroot = dconsthalf;
......
...@@ -295,8 +295,8 @@ do_fixed_add (FIXED_VALUE_TYPE *f, const FIXED_VALUE_TYPE *a, ...@@ -295,8 +295,8 @@ do_fixed_add (FIXED_VALUE_TYPE *f, const FIXED_VALUE_TYPE *a,
double_int temp; double_int temp;
int i_f_bits; int i_f_bits;
/* This was a conditional expression but it triggered a bug in the /* This was a conditional expression but it triggered a bug in
Solaris 8 compiler. */ Sun C 5.5. */
if (subtract_p) if (subtract_p)
temp = double_int_neg (b->data); temp = double_int_neg (b->data);
else else
......
...@@ -4360,8 +4360,8 @@ iv_ca_add_use (struct ivopts_data *data, struct iv_ca *ivs, ...@@ -4360,8 +4360,8 @@ iv_ca_add_use (struct ivopts_data *data, struct iv_ca *ivs,
static comp_cost static comp_cost
iv_ca_cost (struct iv_ca *ivs) iv_ca_cost (struct iv_ca *ivs)
{ {
/* This was a conditional expression but it triggered a bug in the /* This was a conditional expression but it triggered a bug in
Solaris 8 compiler. */ Sun C 5.5. */
if (ivs->bad_uses) if (ivs->bad_uses)
return infinite_cost; return infinite_cost;
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment