This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: hot/cold partitioning bug fix
- From: Geoffrey Keating <geoffk at geoffk dot org>
- To: Mike Stump <mrs at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 18 Nov 2004 14:51:56 -0800
- Subject: Re: hot/cold partitioning bug fix
- References: <C89EA64E-2DED-468E-86A4-AEB5C69FEAA4@apple.com>
Mike Stump <mrs@apple.com> writes:
> Here is a hot/cold partitioning bug fix that is extremely safe. I
> didn't author this, but would like to see it get in.
>
> Ok?
This needs a testcase.
How did you test the patch? In particular, did you run the C++
testsuite on Darwin with flag_reorder_blocks_and_partition set?
> 2004-11-16 Mike Stump <mrs@apple.com>
>
> * dbxout.c (dbxout_source_file): Don't switch into the text
> section here when flag_reorder_blocks_and_partition is in
> effect, as that is done before we get here.