This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix ppc (and others) libstdc++ bootstrap failure
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: rth at redhat dot com (Richard Henderson)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Jul 2004 20:22:10 -0400 (EDT)
- Subject: Re: fix ppc (and others) libstdc++ bootstrap failure
>
> I didn't think of the thunk builders when I simplified some of the
> block code yesterday. I'm testing this on alpha at present, but it
> has successfully compiled the provided ppc test case.
>
> As for lower_function_body vs tree_expand_cfg, the later seems much
> more logical, given that reset_block_changes has to do with bits
> related to emitting rtl.
>
>
> r~
>
>
> * gimple-low.c (lower_function_body): Don't reset_block_changes here.
> * cfgexpand.c (tree_expand_cfg): Do it here.
> * config/alpha/alpha.c (alpha_output_mi_thunk_osf): And here.
> * config/ia64/ia64.c (ia64_output_mi_thunk): And here.
> * config/mips/mips.c (mips_output_mi_thunk): And here.
> * config/rs6000/rs6000.c (rs6000_output_mi_thunk): And here.
> * config/sh/sh.c (sh_output_mi_thunk): And here.
> * config/sparc/sparc.c (sparc_output_mi_thunk): And here.
This works for me on powerpc-apple-darwin but sometimes during a build
I keep running into PR 16237.
Thanks,
Andrew Pinski