------- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-15 23:42 -------
This is not a bug and this is how C++ works.
propagate in dfgBackProp hides the base classes's propagate.
You want to do:
class dfgBackProp : public propJoin<node,info> {
public:
using propJoin<node,info>::propagate;
void propagate( const node& n ) {
std::vector<info> infos;
propagate(n,infos.begin(),infos.end());
}
};
----
With that change this works as expected.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26310