openbsd-ports/lang/gcc/4.2/patches/patch-gcc_omp-low_c
2006-07-31 09:50:53 +00:00

13 lines
529 B
Plaintext

$OpenBSD: patch-gcc_omp-low_c,v 1.1.1.1 2006/07/31 09:50:53 espie Exp $
--- gcc/omp-low.c.orig Sun Jul 23 14:31:14 2006
+++ gcc/omp-low.c Sun Jul 23 14:31:35 2006
@@ -3863,7 +3863,7 @@ lower_omp_critical (tree *stmt_p, omp_co
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;