diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-05-19 13:29:19 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-05-19 13:29:19 -0700 |
commit | 74744bb1f2847b5b9ce3e97e0fec9c23bb0e499f (patch) | |
tree | 00c13ee7f64a1daa18e6617328f501cc6f6f7d13 /gcc/tree-inline.c | |
parent | 7cf3f604fb102ba67ce3abe7e97440b4ed0da92e (diff) | |
download | gcc-74744bb1f2847b5b9ce3e97e0fec9c23bb0e499f.zip gcc-74744bb1f2847b5b9ce3e97e0fec9c23bb0e499f.tar.gz gcc-74744bb1f2847b5b9ce3e97e0fec9c23bb0e499f.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