This is the mail archive of the
mailing list for the GCC project.
Re: [ARM] Fix ICE in minipool handling at -Os
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Mar 2013 10:03:13 +0100
- Subject: Re: [ARM] Fix ICE in minipool handling at -Os
- References: <1380706 dot FZ55ab6V2i at polaris> <51508B48 dot 50108 at arm dot com>
> Having half-word accesses into the minipool is generally a bad idea.
> The limited offset range that's supported by these instructions means
> it's much more likely that we'll end up with a pool after a conditional
> branch or, worse, in the middle of a linear code sequence. That means
> we have to jump around the pool, which costs performance.
Note that this is -Os so performance considerations might come second.
> We really need to find out why the compiler keeps trying to create these
> and fix that problem rather than work around the issue.
> I'm not sure why the v6 variants allow this; I thought that had been
> taken out.