On 03/21/2016 10:38 AM, Patrick Palka wrote:
non_const_var_error() does not expect to complain about a decl whose
DECL_INITIAL is a constant. But it is not sufficient to check that the
DECL_INITIAL is a constant since it could be the case that it was folded
to a constant and yet was originally i
non_const_var_error() does not expect to complain about a decl whose
DECL_INITIAL is a constant. But it is not sufficient to check that the
DECL_INITIAL is a constant since it could be the case that it was folded
to a constant and yet was originally initialized by a non-constant
expression. So to