> unfortunately, in C++ it is not enough to verify that the source still > builds with a function removed to conclude that the function is unused. > After this patch, dumping of IPA-CP scalar constant lattices is broken > because we attempt to print them with (what was) an > print_ipcp_constant_value overload for polymorphic contexts which are > constructible from trees, so the source compiles, but of course are not > what we want.
Another misfeature of C++ indeed! Thanks for fixing the problem. -- Eric Botcazou