[llvm-branch-commits] [llvm-gcc-branch] r83580 - in /llvm-gcc-4.2/branches/Apple/Leela/gcc: c-decl.c cp/decl.c testsuite/objc.dg/block-weak.m
Bill Wendling
isanbard at gmail.com
Thu Oct 8 14:55:44 PDT 2009
Author: void
Date: Thu Oct 8 16:55:44 2009
New Revision: 83580
URL: http://llvm.org/viewvc/llvm-project?rev=83580&view=rev
Log:
$ svn merge -c 83569 https://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk
--- Merging r83569 into '.':
A gcc/testsuite/objc.dg/block-weak.m
U gcc/cp/decl.c
U gcc/c-decl.c
Added:
llvm-gcc-4.2/branches/Apple/Leela/gcc/testsuite/objc.dg/block-weak.m
- copied unchanged from r83569, llvm-gcc-4.2/trunk/gcc/testsuite/objc.dg/block-weak.m
Modified:
llvm-gcc-4.2/branches/Apple/Leela/gcc/c-decl.c
llvm-gcc-4.2/branches/Apple/Leela/gcc/cp/decl.c
Modified: llvm-gcc-4.2/branches/Apple/Leela/gcc/c-decl.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Leela/gcc/c-decl.c?rev=83580&r1=83579&r2=83580&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Leela/gcc/c-decl.c (original)
+++ llvm-gcc-4.2/branches/Apple/Leela/gcc/c-decl.c Thu Oct 8 16:55:44 2009
@@ -3873,7 +3873,7 @@
tree_cons (NULL_TREE, ptr_type_node,
tree_cons (NULL_TREE, ptr_type_node,
void_list_node)));
- strcpy (name, "__Block_byref_id_object_copy");
+ sprintf (name, "__Block_byref_id_object_copy%d", kind);
block_byref_id_object_copy[kind] = build_helper_func_decl (get_identifier (name),
func_type);
/* Synthesize function definition. */
@@ -3891,7 +3891,7 @@
tree func_type =
build_function_type (void_type_node,
tree_cons (NULL_TREE, ptr_type_node, void_list_node));
- strcpy (name, "__Block_byref_id_object_dispose");
+ sprintf (name, "__Block_byref_id_object_dispose%d", kind);
block_byref_id_object_dispose[kind] = build_helper_func_decl (get_identifier (name),
func_type);
/* Synthesize function definition. */
Modified: llvm-gcc-4.2/branches/Apple/Leela/gcc/cp/decl.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Leela/gcc/cp/decl.c?rev=83580&r1=83579&r2=83580&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Leela/gcc/cp/decl.c (original)
+++ llvm-gcc-4.2/branches/Apple/Leela/gcc/cp/decl.c Thu Oct 8 16:55:44 2009
@@ -5623,7 +5623,7 @@
tree_cons (NULL_TREE, ptr_type_node,
tree_cons (NULL_TREE, ptr_type_node,
void_list_node)));
- strcpy (name, "__Block_byref_id_object_copy");
+ sprintf (name, "__Block_byref_id_object_copy%d", kind);
block_byref_id_object_copy[kind] = build_helper_func_decl (get_identifier (name),
func_type);
DECL_CONTEXT (block_byref_id_object_copy[kind]) = current_function_decl;
@@ -5645,7 +5645,7 @@
func_type =
build_function_type (void_type_node,
tree_cons (NULL_TREE, ptr_type_node, void_list_node));
- strcpy (name, "__Block_byref_id_object_dispose");
+ sprintf (name, "__Block_byref_id_object_dispose%d", kind);
block_byref_id_object_dispose[kind] = build_helper_func_decl (get_identifier (name),
func_type);
DECL_CONTEXT (block_byref_id_object_dispose[kind]) = current_function_decl;
More information about the llvm-branch-commits
mailing list