aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2022-10-10 13:46:32 +0200
committerAldy Hernandez <aldyh@redhat.com>2022-10-10 14:50:17 +0200
commit80cb09d4f773a366bd8f9593729a5a80b5aa8850 (patch)
tree7aff15111b12d843b15a0225cc4938cd6ce08f8e /gcc
parente23f7dabe6f7ce1d92bfc07d2b62cc7bcdc0caae (diff)
downloadgcc-80cb09d4f773a366bd8f9593729a5a80b5aa8850.zip
gcc-80cb09d4f773a366bd8f9593729a5a80b5aa8850.tar.gz
gcc-80cb09d4f773a366bd8f9593729a5a80b5aa8850.tar.bz2
Make range-op-float entries public.
gcc/ChangeLog: * range-op-float.cc (class foperator_identity): Make members public. (class foperator_equal): Same. (class foperator_not_equal): Same. (class foperator_lt): Same. (class foperator_le): Same. (class foperator_gt): Same. (class foperator_ge): Same. (class foperator_unordered): Same. (class foperator_ordered): Same.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/range-op-float.cc16
1 files changed, 7 insertions, 9 deletions
diff --git a/gcc/range-op-float.cc b/gcc/range-op-float.cc
index 5ffe38d..3cf117d 100644
--- a/gcc/range-op-float.cc
+++ b/gcc/range-op-float.cc
@@ -315,7 +315,7 @@ class foperator_identity : public range_operator_float
{
using range_operator_float::fold_range;
using range_operator_float::op1_range;
-
+public:
bool fold_range (frange &r, tree type ATTRIBUTE_UNUSED,
const frange &op1, const frange &op2 ATTRIBUTE_UNUSED,
relation_kind) const final override
@@ -338,7 +338,7 @@ class foperator_equal : public range_operator_float
using range_operator_float::fold_range;
using range_operator_float::op1_range;
using range_operator_float::op2_range;
-
+public:
bool fold_range (irange &r, tree type,
const frange &op1, const frange &op2,
relation_kind rel) const final override;
@@ -444,7 +444,7 @@ class foperator_not_equal : public range_operator_float
{
using range_operator_float::fold_range;
using range_operator_float::op1_range;
-
+public:
bool fold_range (irange &r, tree type,
const frange &op1, const frange &op2,
relation_kind rel) const final override;
@@ -545,7 +545,7 @@ class foperator_lt : public range_operator_float
using range_operator_float::fold_range;
using range_operator_float::op1_range;
using range_operator_float::op2_range;
-
+public:
bool fold_range (irange &r, tree type,
const frange &op1, const frange &op2,
relation_kind rel) const final override;
@@ -660,7 +660,7 @@ class foperator_le : public range_operator_float
using range_operator_float::fold_range;
using range_operator_float::op1_range;
using range_operator_float::op2_range;
-
+public:
bool fold_range (irange &r, tree type,
const frange &op1, const frange &op2,
relation_kind rel) const final override;
@@ -767,7 +767,7 @@ class foperator_gt : public range_operator_float
using range_operator_float::fold_range;
using range_operator_float::op1_range;
using range_operator_float::op2_range;
-
+public:
bool fold_range (irange &r, tree type,
const frange &op1, const frange &op2,
relation_kind rel) const final override;
@@ -882,7 +882,7 @@ class foperator_ge : public range_operator_float
using range_operator_float::fold_range;
using range_operator_float::op1_range;
using range_operator_float::op2_range;
-
+public:
bool fold_range (irange &r, tree type,
const frange &op1, const frange &op2,
relation_kind rel) const final override;
@@ -993,7 +993,6 @@ class foperator_unordered : public range_operator_float
using range_operator_float::fold_range;
using range_operator_float::op1_range;
using range_operator_float::op2_range;
-
public:
bool fold_range (irange &r, tree type,
const frange &op1, const frange &op2,
@@ -1071,7 +1070,6 @@ class foperator_ordered : public range_operator_float
using range_operator_float::fold_range;
using range_operator_float::op1_range;
using range_operator_float::op2_range;
-
public:
bool fold_range (irange &r, tree type,
const frange &op1, const frange &op2,