diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-05-19 13:29:19 -0700 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:03:50 -0300 |
commit | 35566b35b89d0cd694b745613fcec89bf015ec71 (patch) | |
tree | 73a6f845dd74d2a3edafbf59bc4b678a85586921 /gcc/tree-inline.c | |
parent | 86f2ac6dfcb4c7db9c9ee7b317ab1fdeb753ca7f (diff) | |
download | gcc-35566b35b89d0cd694b745613fcec89bf015ec71.zip gcc-35566b35b89d0cd694b745613fcec89bf015ec71.tar.gz gcc-35566b35b89d0cd694b745613fcec89bf015ec71.tar.bz2 |
c++: Alias template instantiation template info
I discovered that the alias instantiation machinery would setup
template_info, and then sometime later overwrite that with equivalent
info. This broke modules, because the template info, once set, is
logically immutable. Let's just not do that.
* pt.c (lookup_template_class_1): Do not reinit template_info of an
alias here.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions