On 07/31/2012 11:58 AM, Florian Weimer wrote:
The attached patch adds a context parameter to
cxx_eval_constant_expression and its subprograms. This way, we do not
have to thread all context parameters manually. This will simplify the
introduction of additional location information, as suggested by Jason
in <http://gcc.gnu.org/ml/gcc-patches/2012-06/msg01596.html>.
Bootstrapped and tested on x86_64-redhat-linux-gnu.
Ping?
Should I submit an alternative approach (keep the context in a class,
make the internal implementation functions private members) to the
cxx-conversion branch?
--
Florian Weimer / Red Hat Product Security Team