$OpenBSD: patch-gcc_tree-dump_c,v 1.2 2004/11/23 18:17:34 espie Exp $
--- gcc/tree-dump.c.orig	Wed Oct 13 15:48:16 2004
+++ gcc/tree-dump.c	Tue Nov 23 12:44:32 2004
@@ -822,7 +822,7 @@ get_dump_file_name (enum tree_dump_index
 	dump_id[0] = '\0';
     }
 
-  return concat (dump_base_name, dump_id, dfi->suffix, NULL);
+  return concat (dump_base_name, dump_id, dfi->suffix, (void *)0);
 }
 
 /* Begin a tree dump for PHASE. Stores any user supplied flag in
