summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-14 21:54:44 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-14 21:54:44 +0000
commitd3a5fc6bff3b87c101677f9c67caf9c81d79af36 (patch)
treeb8d0b7969b842e7f7e9355c9dcaa830596ff54a6 /gcc
parentd81ad2d13d980b79a8ef70980726b8c339f51b93 (diff)
downloadgcc-d3a5fc6bff3b87c101677f9c67caf9c81d79af36.tar.gz
* passes.c (next_pass_1): Clear the next field of the copied
pass structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/passes.c1
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 04b06a863d8..d8ef4483751 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/passes.c b/gcc/passes.c
index f90796d0461..0c28075cc08 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