Skip to content
Snippets Groups Projects
Commit 3cb04a53 authored by Jakub Jelinek's avatar Jakub Jelinek Committed by Jakub Jelinek
Browse files

re PR c++/52759 (ICE in cp/mangle.c)

	PR c++/52759
	* decl.c (start_decl): Don't call maybe_apply_pragma_weak
	if processing_template_decl.

	* g++.dg/ext/weak4.C: New test.

From-SVN: r185966
parent b84b294a
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