-ffixed-di vs. strlen

Richard Henderson rth@redhat.com
Fri Feb 13 19:17:00 GMT 2004


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~



More information about the Gcc mailing list