This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 11/17/2011 09:37 PM, Jason Merrill wrote:So, these are my first observations. For sure we go through fold_non_dependent_expr, and exactly in store_init_value, like this:On 11/16/2011 10:00 AM, Paolo Carlini wrote:Ok, I'll investigate what is happening instead.this is an ICE on valid, 4.6/4.7 Regression, which manifests itself as tree codes unhandled by cxx_eval_constant_expression.
Hmm, those codes shouldn't make it this far; we should go through fold_non_dependent_expr before we get to cxx_eval_constant_expression.
value = fold_non_dependent_expr (value); value = maybe_constant_init (value);
Thanks, Paolo.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |