Re: [C++ PATCH] PR c++/86946 - ICE with function call in template argument.

2019-04-01 Thread Jason Merrill
On Mon, Apr 1, 2019 at 3:04 PM Jason Merrill wrote: > > DR 1321 clarified that two dependent names are equivalent if the names are > the same, even if the result of name lookup is different. So template > argument hashing should treat a lookup set like a plain identifier. > Mangling already does.

[C++ PATCH] PR c++/86946 - ICE with function call in template argument.

2019-04-01 Thread Jason Merrill
DR 1321 clarified that two dependent names are equivalent if the names are the same, even if the result of name lookup is different. So template argument hashing should treat a lookup set like a plain identifier. Mangling already does. Tested x86_64-pc-linux-gnu, applying to trunk. * pt.