openbsd-ports/lang/gcc/4.3/patches/patch-gcc_omp-low_c
2007-03-17 22:35:25 +00:00

13 lines
529 B
Plaintext

$OpenBSD: patch-gcc_omp-low_c,v 1.1.1.1 2007/03/17 22:35:26 espie Exp $
--- gcc/omp-low.c.orig Fri Feb 16 00:50:49 2007
+++ gcc/omp-low.c Mon Feb 19 14:08:48 2007
@@ -3894,7 +3894,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;