aboutsummaryrefslogtreecommitdiff
path: root/gcc/d
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-08-18 14:48:58 -0700
committerNathan Sidwell <nathan@acm.org>2020-08-18 14:52:22 -0700
commitea2722934fc8238e4a9eb41586ca106448faa940 (patch)
treece2fde11745762f99642d927dde02cf4bb91e4cd /gcc/d
parent94bedeaf694c728607a718d599edb4d74a2813c0 (diff)
downloadgcc-ea2722934fc8238e4a9eb41586ca106448faa940.zip
gcc-ea2722934fc8238e4a9eb41586ca106448faa940.tar.gz
gcc-ea2722934fc8238e4a9eb41586ca106448faa940.tar.bz2
c++: alias template template_info setting
During the construction of alias templates we can alter its template_info. This is really weird, because that's morally immutable data. In this case it's ok, but let's not create a duplicate template_info, and add asserts to make sure it is changing in exactly the way we expect. gcc/cp/ * cp-tree.h (SET_TYPE_TEMPLTE_INFO): Do not deal with ALIAS templates. * pt.c (lookup_template_class_1): Special-case alias template template_info setting.
Diffstat (limited to 'gcc/d')
0 files changed, 0 insertions, 0 deletions