From 9275de65ab9370821910939a966882d015b50310 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 25 Jul 2005 23:22:05 +0000 Subject: [PATCH] re PR rtl-optimization/23043 ([m68k-linux] bootstrap error on m68k-linux) PR rtl-optimization/23043 * postreload-gcse.c (eliminate_partially_redundant_load): Fix typo when allocating a struct unoccr. From-SVN: r102374 --- gcc/ChangeLog | 6 ++++++ gcc/postreload-gcse.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 587ebf18d20..11ef2a55576 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-07-26 Andreas Schwab + + PR rtl-optimization/23043 + * postreload-gcse.c (eliminate_partially_redundant_load): Fix typo + when allocating a struct unoccr. + 2005-07-25 Richard Henderson PR 22626 diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index cf08c09aba7..4b7d0e9a7d0 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;