On Thu, Oct 01, 2020 at 08:59:12PM +0200, Martin Liška wrote: > Since a889e06ac68 the following fails. > > In file included from ../../gcc/tree-ssa-propagate.h:25:0, > from ../../gcc/config/rs6000/rs6000.c:78: > ../../gcc/value-query.h:90:31: error: ‘irange’ has not been declared > virtual bool range_of_expr (irange &r, tree name, gimple * = NULL) = 0; > ^~~~~~ > ../../gcc/value-query.h:91:31: error: ‘irange’ has not been declared > virtual bool range_on_edge (irange &r, edge, tree name); > ^~~~~~ > ../../gcc/value-query.h:92:31: error: ‘irange’ has not been declared > virtual bool range_of_stmt (irange &r, gimple *, tree name = NULL); > ^~~~~~ > In file included from ../../gcc/tree-ssa-propagate.h:25:0, > from ../../gcc/config/rs6000/rs6000-call.c:67: > ../../gcc/value-query.h:90:31: error: ‘irange’ has not been declared > virtual bool range_of_expr (irange &r, tree name, gimple * = NULL) = 0; > ^~~~~~ > ../../gcc/value-query.h:91:31: error: ‘irange’ has not been declared > virtual bool range_on_edge (irange &r, edge, tree name); > ^~~~~~ > ../../gcc/value-query.h:92:31: error: ‘irange’ has not been declared > virtual bool range_of_stmt (irange &r, gimple *, tree name = NULL); > > Ready for master?
This is okay for trunk, thanks! (It is trivial and obvious as well, so please just commit things like this without prior approval.) Segher > * config/rs6000/rs6000-call.c: Include value-range.h. > * config/rs6000/rs6000.c: Likewise.