wrong assertion in caller-save.c

Eric Botcazou ebotcazou@adacore.com
Fri Jan 10 21:46:00 GMT 2014


> In my backend movdi pattern has unfortunately code '0' (depends on pattern
> declaration order). When gcc tried to determine if my DI regs can be saved
> and restore as 'caller saves' (in caller-save.c::init_caller_save()) it
> failed on this wrong assertion.

I'd arrange for avoiding code 0 instead because this disables the cache.

-- 
Eric Botcazou



More information about the Gcc mailing list