This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -ffixed-di vs. strlen
- From: Richard Henderson <rth at redhat dot com>
- To: Ian Lance Taylor <ian at wasabisystems dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 13 Feb 2004 11:17:07 -0800
- Subject: Re: -ffixed-di vs. strlen
- References: <m3bro4rrk8.fsf@gossamer.airs.com>
On Thu, Feb 12, 2004 at 03:06:15PM -0500, Ian Lance Taylor wrote:
> It's quite easy to change gcc to avoid the crash when using
> -ffixed-di. It's a bit tricky to generate optimal code when using a
> local register variable, but it's not hard to generate correct
> code--we just keep have to keep track of which registers have
> dedicated local variables.
This has already been done; it's global_regs. It would be fine
to have the string expanders FAIL in the case that the registers
it needs are reserved.
r~