cbc0ee2d14
ok sthen@
13 lines
534 B
Plaintext
13 lines
534 B
Plaintext
$OpenBSD: patch-gcc_omp-low_c,v 1.2 2010/04/29 16:45:53 jsg Exp $
|
|
--- gcc/omp-low.c.orig Thu Jan 14 01:44:08 2010
|
|
+++ gcc/omp-low.c Wed Apr 28 23:09:28 2010
|
|
@@ -3943,7 +3943,7 @@ lower_omp_critical (tree *stmt_p, omp_context *ctx)
|
|
decl = create_tmp_var_raw (ptr_type_node, NULL);
|
|
|
|
new_str = ACONCAT ((".gomp_critical_user_",
|
|
- IDENTIFIER_POINTER (name), NULL));
|
|
+ IDENTIFIER_POINTER (name), (void *)0));
|
|
DECL_NAME (decl) = get_identifier (new_str);
|
|
TREE_PUBLIC (decl) = 1;
|
|
TREE_STATIC (decl) = 1;
|