diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/postreload-gcse.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 587ebf1..11ef2a5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-07-26 Andreas Schwab <schwab@suse.de> + + PR rtl-optimization/23043 + * postreload-gcse.c (eliminate_partially_redundant_load): Fix typo + when allocating a struct unoccr. + 2005-07-25 Richard Henderson <rth@redhat.com> PR 22626 diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index cf08c09..4b7d0e9 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -1075,7 +1075,7 @@ eliminate_partially_redundant_load (basic_block bb, rtx insn, else /* Its a dead move no need to generate. */ continue; occr = (struct unoccr *) obstack_alloc (&unoccr_obstack, - sizeof (struct occr)); + sizeof (struct unoccr)); occr->insn = avail_insn; occr->pred = pred; occr->next = avail_occrs; |
