diff options
author | Jason Merrill <jason@redhat.com> | 2019-04-01 16:43:13 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-04-01 16:43:13 -0400 |
commit | b491c59fb554a78b2590b1ffec31c40b5432fa86 (patch) | |
tree | fbf10307f4956d69917d55440d98f67aa43b33c9 /gcc/config.gcc | |
parent | b33ef29fffa01c710fcd09d594efa204d457d59f (diff) | |
download | gcc-b491c59fb554a78b2590b1ffec31c40b5432fa86.zip gcc-b491c59fb554a78b2590b1ffec31c40b5432fa86.tar.gz gcc-b491c59fb554a78b2590b1ffec31c40b5432fa86.tar.bz2 |
PR c++/86946 - ICE with function call in template argument.
DR 1321 clarified that two dependent names are equivalent if the names are
the same, even if the result of name lookup is different. We need to
implement that in hashing like we already do in comparison and mangling.
* pt.c (iterative_hash_template_arg) [CALL_EXPR]: Use
dependent_name.
From-SVN: r270068
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions