[Bug target/17180] [3.4 Regression] nearly all g77 tests fail
------- Additional Comments From mark at codesourcery dot com 2004-08-31 15:11 -------
Subject: Re: [3.4 Regression] nearly all g77 tests fail
ebotcazou at gcc dot gnu dot org wrote:
>------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-08-31 13:18 -------
>Created an attachment (id=7010)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7010&action=view)
> --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7010&action=view)
>Proposed fix.
>
>Mark, does it look ok to you? It was bootstrapped/regtested (C,F77) on x86,
>SPARC32 and SPARC64.
>
You're replacing both sizeof(mallocArea_) and sizeof(mallocArea_*) with
a size based on sizeof(mallocArea_*) roundup up to the byte-version of
BIGGEST_ALIGNMENT. OK, I ssee that mallocArea is itself a pointer, so
in both cases the sizes you're replacing are the same. In any case, it
looks as though this patch is safe; at worst, we allocate some more memory.
Patch OK for 3.4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17180
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: