6f0b523996
meant to be used on archs that have gcc4 in base, this doesn't require a full gcc build from ports, and provides libgfortran as a subpackage. idea from espie some months ago.
13 lines
541 B
Plaintext
13 lines
541 B
Plaintext
$OpenBSD: patch-gcc_omp-low_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
|
|
--- gcc/omp-low.c.orig Mon Jul 2 21:27:28 2007
|
|
+++ gcc/omp-low.c Mon Jun 14 19:23:04 2010
|
|
@@ -3934,7 +3934,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;
|