mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 01:50:34 +08:00
* decl.c (cp_fname_init): Correct build_string argument.
From-SVN: r153681
This commit is contained in:
parent
c4bb78e9cd
commit
34ad94d88c
@ -1,3 +1,7 @@
|
||||
2009-10-28 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* decl.c (cp_fname_init): Correct build_string argument.
|
||||
|
||||
2009-10-27 Jason Merrill <jason@redhat.com>
|
||||
|
||||
Allow no-capture lambdas to convert to function pointer.
|
||||
|
@ -3512,7 +3512,7 @@ cp_fname_init (const char* name, tree *type_p)
|
||||
{
|
||||
length = strlen (name);
|
||||
domain = build_index_type (size_int (length));
|
||||
init = build_string (length + 1, name);
|
||||
init = build_string (length, name);
|
||||
}
|
||||
|
||||
type = build_qualified_type (char_type_node, TYPE_QUAL_CONST);
|
||||
|
Loading…
x
Reference in New Issue
Block a user