From 3d88299026ed315bce2cbf2d71309ea0040fbc1d Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Wed, 14 Feb 2007 21:54:44 +0000 Subject: passes.c (next_pass_1): Clear the next field of the copied pass structure. * passes.c (next_pass_1): Clear the next field of the copied pass structure. From-SVN: r121966 --- gcc/passes.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/passes.c') diff --git a/gcc/passes.c b/gcc/passes.c index f90796d..0c28075 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -390,6 +390,7 @@ next_pass_1 (struct tree_opt_pass **list, struct tree_opt_pass *pass) new = xmalloc (sizeof (*new)); memcpy (new, pass, sizeof (*new)); + new->next = NULL; /* Indicate to register_dump_files that this pass has duplicates, and so it should rename the dump file. The first instance will -- cgit v1.1