Re: C++ PATCH for c++/82115, ICE with variable initialized to own address

2017-12-12 Thread Jason Merrill
On Wed, Dec 6, 2017 at 4:40 PM, Jason Merrill wrote: > In this testcase, we consider the initializer of b to decide if it's > value-dependent, but the initializer mentions b, so we were recursing > infinitely. But if we're interested in the address, we don't care > about the value; we already han

C++ PATCH for c++/82115, ICE with variable initialized to own address

2017-12-06 Thread Jason Merrill
In this testcase, we consider the initializer of b to decide if it's value-dependent, but the initializer mentions b, so we were recursing infinitely. But if we're interested in the address, we don't care about the value; we already handle that appropriately in the constexpr code, this patch updat