openbsd-ports/lang/gfortran/patches/patch-gcc_tree-vect-transform_c
steven 6f0b523996 import separate port of gfortran 4.2.1, in sync with the base compiler.
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.
2010-10-10 17:39:06 +00:00

13 lines
505 B
Plaintext

$OpenBSD: patch-gcc_tree-vect-transform_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $
--- gcc/tree-vect-transform.c.orig Tue Sep 12 12:11:04 2006
+++ gcc/tree-vect-transform.c Mon Jun 14 19:23:04 2010
@@ -105,7 +105,7 @@ vect_get_new_vect_var (tree type, enum vect_var_kind v
}
if (name)
- new_vect_var = create_tmp_var (type, concat (prefix, name, NULL));
+ new_vect_var = create_tmp_var (type, concat (prefix, name, (void *)0));
else
new_vect_var = create_tmp_var (type, prefix);