openbsd-ports/lang/gcc/4.2/patches/patch-gcc_omp-low_c
espie ced95bccdd move to gcc 4.2.4, with a lot of work from kurt@ as well.
Doesn't build on alpha yet, but should be on the way...
2009-04-16 18:36:48 +00:00

13 lines
536 B
Plaintext

$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)
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;