Commit a3be0c83 by Paolo Carlini Committed by Paolo Carlini

re PR c++/67313 (ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template)

2015-11-26  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/67313
	* g++.dg/cpp0x/no-weak1.C: New.

From-SVN: r230934
parent 1a80d6b8
2015-11-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67313
* g++.dg/cpp0x/no-weak1.C: New.
2015-11-26 Jakub Jelinek <jakub@redhat.com> 2015-11-26 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/68128 PR tree-optimization/68128
......
// PR c++/67313
// { dg-do compile { target c++11 } }
// { dg-options "-fno-weak" }
template < class ... >
void f ()
{
}
void foo ()
{
f ();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment