openbsd-ports/lang/gcc/4.1/patches/patch-gcc_tree-complex_c
2005-08-04 14:51:36 +00:00

13 lines
586 B
Plaintext

$OpenBSD: patch-gcc_tree-complex_c,v 1.2 2005/08/04 14:51:37 espie Exp $
--- gcc/tree-complex.c.orig Fri Jul 29 16:51:58 2005
+++ gcc/tree-complex.c Thu Aug 4 10:54:45 2005
@@ -397,7 +397,7 @@ create_one_component_var (tree type, tre
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));