openbsd-ports/lang/gcc/4.2/patches/patch-gcc_tree-complex_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
600 B
Plaintext

$OpenBSD: patch-gcc_tree-complex_c,v 1.3 2009/04/16 18:36:48 espie Exp $
--- gcc/tree-complex.c.orig Sat Sep 1 17:28:30 2007
+++ gcc/tree-complex.c Tue Apr 7 19:38:59 2009
@@ -396,7 +396,7 @@ create_one_component_var (tree type, tree orig, const
const char *name = IDENTIFIER_POINTER (DECL_NAME (orig));
tree inner_type;
- DECL_NAME (r) = get_identifier (ACONCAT ((name, suffix, NULL)));
+ DECL_NAME (r) = get_identifier (ACONCAT ((name, suffix, (char *)0)));
inner_type = TREE_TYPE (TREE_TYPE (orig));
SET_DECL_DEBUG_EXPR (r, build1 (code, type, orig));