passes.c (next_pass_1): Clear the next field of the copied pass structure.
authorZdenek Dvorak <rakdver@gcc.gnu.org>
Wed, 14 Feb 2007 21:54:44 +0000 (21:54 +0000)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Wed, 14 Feb 2007 21:54:44 +0000 (21:54 +0000)
* passes.c (next_pass_1): Clear the next field of the copied
pass structure.

From-SVN: r121966

gcc/ChangeLog
gcc/passes.c

index 04b06a863d88029d55dec0889c91f5eaa10bd9ca..d8ef448375155bc2be7b562a73e2be8068feee2e 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-14  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * passes.c (next_pass_1): Clear the next field of the copied
+       pass structure.
+
 2007-02-14  Richard Henderson  <rth@redhat.com>
 
        * tree-sra.c (early_sra): New.
@@ -28,8 +33,8 @@
 
 2007-02-13  Seongbae Park <seongbae.park@gmail.com>
 
-       * bitmap.c (bitmap_and, bitmap_and_compl, bitmap_xor):
-       Ensure dst->current is valid.
+       * bitmap.c (bitmap_and, bitmap_and_compl, bitmap_xor):
+       Ensure dst->current is valid.
 
 2007-02-13  Paul Brook  <paul@codesourcery.com>
 
index f90796d0461af689d11897583c329565215173f5..0c28075cc08ec537fa40eba15e86160bf71a09b8 100644 (file)
@@ -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