[C++ PATCH]: instantiation via vtable marking
authorNathan Sidwell <nathan@acm.org>
Wed, 14 Feb 2018 16:31:26 +0000 (16:31 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 14 Feb 2018 16:31:26 +0000 (16:31 +0000)
commit486c529987375143c1ca508a76c751cb07c56324
tree45b312cbb62ea9007dcfee164a0a09a083e6fbbe
parent34c58a43ecaeae30dce71abfd79c3c835fd09663
[C++ PATCH]: instantiation via vtable marking

https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00850.html
gcc/cp/
* decl2.c (mark_vtable_entries): Set input_location to decl's.
(c_parse_final_cleanups): Restore input_location after emitting
vtables.

gcc/testsuite/
* g++.dg/template/instantiate5.C: Adjust required-from loc.

From-SVN: r257665
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/instantiate5.C