diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-04-08 19:39:59 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2005-04-08 19:39:59 +0000 |
commit | 12af7ba340f80ef1222034ebe0ce88a4130a0462 (patch) | |
tree | 7269b44542fb5a413a12a9ea81b3d385f85036dc /gcc/tree-vect-transform.c | |
parent | 01d87b6f3da40f38bfda6a538316fb8e6ce9a888 (diff) | |
download | gcc-12af7ba340f80ef1222034ebe0ce88a4130a0462.zip gcc-12af7ba340f80ef1222034ebe0ce88a4130a0462.tar.gz gcc-12af7ba340f80ef1222034ebe0ce88a4130a0462.tar.bz2 |
re PR c++/20145 (template "class has virtual functions ... " is not suppressed with -isystem)
* cp-tree.def (TINST_LEVEL): Document TINST_IN_SYSTEM_HEADER_P.
* cp-tree.h (struct tinst_level): Add in_system_header_p.
(TINST_IN_SYSTEM_HEADER_P): New macro.
(make_tinst_level): Remove.
* pt.c (lookup_template_class): Preserve DECL_IN_SYSTEM_HEADER on
the instantiated class.
(push_tinst_level): Do not use make_tinst_level. Set
TINST_IN_SYSTEM_HEADER_P.
(pop_tinst_level): Likewise.
(instantiate_class_template): Set in_system_header.
(instantiate_pending_templates): Likewise.
* tree.c (make_tinst_level): Remove.
PR c++/20145
* g++.dg/warn/Wdtor1.C: New test.
From-SVN: r97854
Diffstat (limited to 'gcc/tree-vect-transform.c')
0 files changed, 0 insertions, 0 deletions