Il 16/05/2012 15:27, Richard Guenther ha scritto: >> > >> > Two bootstrapped compilers built exactly the same, except one was using the >> > template version, the other using the straight inline functions with >> > const_tree parameters and CONST_CAST_TREE in return values. > That's of course not exactly the same. The checking fns should be able > to unconditionally use const_tree anyway.
Take const_tree, yes. Return const_tree, no. So you need a tree->tree version and a const_tree->const_tree version, like the strchr overloads in the standard C++ library. Paolo