From: Jason Merrill Date: Tue, 8 Mar 2011 17:40:27 +0000 (-0500) Subject: re PR c++/47488 (sorry, unimplemented: string literal in function template signature) X-Git-Tag: releases/gcc-4.5.3~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f01bca9403c17b3f5bfc1ad98c5b8943efb2591;p=thirdparty%2Fgcc.git re PR c++/47488 (sorry, unimplemented: string literal in function template signature) PR c++/47488 * mangle.c (write_template_arg_literal) [STRING_CST]: Sorry. From-SVN: r170786 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1007bccc4644..ad18404d0da2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2011-03-08 Jason Merrill + + PR c++/47488 + * mangle.c (write_template_arg_literal) [STRING_CST]: Sorry. + 2011-03-08 Richard Guenther PR tree-optimization/47278 diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index 3b81ea94b95c..80d6aa38ca44 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -2683,6 +2683,10 @@ write_template_arg_literal (const tree value) write_real_cst (value); break; + case STRING_CST: + sorry ("string literal in function template signature"); + break; + default: gcc_unreachable (); }