diff options
author | Aldy Hernandez <aldyh@gcc.gnu.org> | 2019-06-28 14:56:27 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2019-06-28 14:56:27 +0000 |
commit | 46c21a7f1c83d65f38392c045c74d4f670015f70 (patch) | |
tree | bfaa46244fb7d9b23437de4b0c49cec6355dade1 | |
parent | 80a42f11c9502b8ef891ad8ec816e02f938b4ed7 (diff) | |
download | gcc-46c21a7f1c83d65f38392c045c74d4f670015f70.zip gcc-46c21a7f1c83d65f38392c045c74d4f670015f70.tar.gz gcc-46c21a7f1c83d65f38392c045c74d4f670015f70.tar.bz2 |
Dump out value_range_base undefine's correctly.
From-SVN: r272787
-rw-r--r-- | gcc/tree-vrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 04d3b82..d56fad9 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -429,8 +429,8 @@ void value_range_base::dump (FILE *file) const { tree ttype; - if (undefined_p () || varying_p ()) - ttype = m_min; + if (undefined_p () && !m_min) + ttype = void_type_node; else ttype = TREE_TYPE (m_min); if (undefined_p ()) |