openbsd-ports/lang/gcc/4.2/patches/patch-gcc_omp-low_c

13 lines
536 B
Plaintext
Raw Normal View History

$OpenBSD: patch-gcc_omp-low_c,v 1.6 2009/04/16 18:36:48 espie Exp $
--- gcc/omp-low.c.orig Sat Sep 1 17:28:30 2007
+++ gcc/omp-low.c Tue Apr 7 19:38:59 2009
@@ -3933,7 +3933,7 @@ lower_omp_critical (tree *stmt_p, omp_context *ctx)
2006-07-31 09:50:53 +00:00
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;