]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/47488 (sorry, unimplemented: string literal in function template signature)
authorJason Merrill <jason@redhat.com>
Tue, 8 Mar 2011 17:40:27 +0000 (12:40 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 8 Mar 2011 17:40:27 +0000 (12:40 -0500)
PR c++/47488
* mangle.c (write_template_arg_literal) [STRING_CST]: Sorry.

From-SVN: r170786

gcc/cp/ChangeLog
gcc/cp/mangle.c

index 1007bccc464464a302735c58515e2e2a831ee89a..ad18404d0da2c8c1186c1ba515c45616736928fe 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-08  Jason Merrill  <jason@redhat.com>
+
+       PR c++/47488
+       * mangle.c (write_template_arg_literal) [STRING_CST]: Sorry.
+
 2011-03-08  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/47278
index 3b81ea94b95c25702cf739403b64499428f3aa0d..80d6aa38ca443f48b5b204ffff4f9c6e62560968 100644 (file)
@@ -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 ();
     }