diff options
author | Andrew Haley <aph@redhat.com> | 2008-12-09 10:42:41 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2008-12-09 10:42:41 +0000 |
commit | 30da611174c5fe050203f6ff0faa237c522f96ff (patch) | |
tree | 313ca7904b15a0726151fda796478590e5a2afa6 /gcc/tree-ssa-loop-ivopts.c | |
parent | 6f9f0ce349db8290053b5e3cd8b7b117cb47aaad (diff) | |
download | gcc-30da611174c5fe050203f6ff0faa237c522f96ff.zip gcc-30da611174c5fe050203f6ff0faa237c522f96ff.tar.gz gcc-30da611174c5fe050203f6ff0faa237c522f96ff.tar.bz2 |
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/tree-ssa-loop-ivopts.c')
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 0059443..683d7d4 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -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 |