aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range-equiv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/value-range-equiv.h')
-rw-r--r--gcc/value-range-equiv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/value-range-equiv.h b/gcc/value-range-equiv.h
index 743ceb2..0a52d13 100644
--- a/gcc/value-range-equiv.h
+++ b/gcc/value-range-equiv.h
@@ -67,6 +67,10 @@ class GTY((user)) value_range_equiv : public value_range
void deep_copy (const value_range_equiv *);
void dump (FILE *) const;
void dump () const;
+ static bool supports_p (tree type)
+ {
+ return INTEGRAL_TYPE_P (type) || POINTER_TYPE_P (type);
+ }
private:
/* Deep-copies bitmap argument. */