$OpenBSD: patch-gcc_passes_c,v 1.1.1.1 2010/10/10 17:39:06 steven Exp $ --- gcc/passes.c.orig Tue Jan 30 14:34:10 2007 +++ gcc/passes.c Sun Mar 18 23:58:45 2007 @@ -317,7 +317,7 @@ register_one_dump_file (struct tree_opt_pass *pass, bo sprintf (num, "%d", ((int) pass->static_pass_number < 0 ? 1 : pass->static_pass_number)); - dot_name = concat (".", pass->name, num, NULL); + dot_name = concat (".", pass->name, num, (void *)0); if (ipa) prefix = "ipa-", flags = TDF_IPA; else if (properties & PROP_trees) @@ -325,8 +325,8 @@ register_one_dump_file (struct tree_opt_pass *pass, bo else prefix = "rtl-", flags = TDF_RTL; - flag_name = concat (prefix, pass->name, num, NULL); - glob_name = concat (prefix, pass->name, NULL); + flag_name = concat (prefix, pass->name, num, (void *)0); + glob_name = concat (prefix, pass->name, (void *)0); pass->static_pass_number = dump_register (dot_name, flag_name, glob_name, flags, pass->letter); }