Skip to content
Snippets Groups Projects
Commit 39004608 authored by Marek Polacek's avatar Marek Polacek
Browse files

c++: clear tf_partial et al in instantiate_template [PR108960]

In <https://gcc.gnu.org/pipermail/gcc-patches/2023-February/612929.html>
we concluded that we might clear all flags except tf_warning_or_error
when performing instantiate_template.

	PR c++/108960

gcc/cp/ChangeLog:

	* pt.cc (lookup_and_finish_template_variable): Don't clear tf_partial
	here.
	(instantiate_template): Reset all complain flags except
	tf_warning_or_error.
parent 28e3d361
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment