c++: Template arg comparison
authorNathan Sidwell <nathan@acm.org>
Wed, 13 May 2020 20:22:02 +0000 (13:22 -0700)
committerNathan Sidwell <nathan@acm.org>
Wed, 13 May 2020 20:22:02 +0000 (13:22 -0700)
commit7040894c4441fd3f9a39b0dd2d7b640e8e85808a
treef91f9fd4b7b3fd779844bf07ee84b7436bc4504c
parent2bb30de62f59caa9af1ec01aa1029795f4748842
c++: Template arg comparison

When fixing up the template specialization hasher I was confused by
the control flow through template_args_equal.  This reorders the
category checking, so it is clearer as to what kind of node can reach
which point.

* pt.c (template_args_equal): Reorder category checking for
clarity.
gcc/cp/ChangeLog
gcc/cp/pt.c