Skip to content
Snippets Groups Projects
Commit 674800f6 authored by mmitchel's avatar mmitchel
Browse files

	* tree.c (mapcar): When dealing with a DECL, use it's constant
	value, if any.
	* pt.c (lookup_template_class): Don't mangle the names of template
	classes whose arguments are unknown.
	* pt.c (tsubst_expr): Handle GOTO_STMT correctly.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18805 138bc75d-0d04-0410-961f-82ee72b054a4
parent b1dcc417
No related branches found
No related tags found
No related merge requests found
template <bool B>
struct S
{
static void g();
};
template <bool B>
void g();
template<unsigned Length>
void f()
{
const bool b = true;
g<b>();
const bool b1 = (Length == 2);
S<b1>::g();
}
void h()
{
f<3>();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment