This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM] Fix ICE during thunk generation with -mlong-calls
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: "Richard Earnshaw (lists)" <Richard dot Earnshaw at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 18 Sep 2018 11:00:03 +0200
- Subject: Re: [ARM] Fix ICE during thunk generation with -mlong-calls
- References: <1722777.YijAB52ccF@polaris> <ced41c58-4ce6-487d-9c88-24856809e8fa@arm.com>
> this seems to contradict your statement above about having to work
> harder to fix up minipools.
Why? Fixing up minipools is done in the generic ARM reorg pass, not in the
Thumb reorg pass(es).
> Why do we need a barrier here unconditionally (ie in the non-longcall case)?
We don't, but it doesn't harm to put it either. For example, the x86, PowerPC
and SPARC ports always do it.
--
Eric Botcazou