Re: C++ PATCH for c++/90736 - bogus error with alignof

2019-06-12 Thread Jason Merrill
On 6/9/19 8:45 PM, Marek Polacek wrote: The problem here is that we're getting "requested alignment is not an integer constant" since r261971, because of this part of the patch: @ -4676,7 +4685,11 @@ cxx_eval_constant_expression (const constexpr_ctx *ctx, tree t, conversion. */

C++ PATCH for c++/90736 - bogus error with alignof

2019-06-09 Thread Marek Polacek
The problem here is that we're getting "requested alignment is not an integer constant" since r261971, because of this part of the patch: @ -4676,7 +4685,11 @@ cxx_eval_constant_expression (const constexpr_ctx *ctx, tree t, conversion. */ return fold (t); - if (tcode == UNARY_P