This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: wrong assertion in caller-save.c
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: BELBACHIR Selim <selim dot belbachir at fr dot thalesgroup dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 10 Jan 2014 22:44:05 +0100
- Subject: Re: wrong assertion in caller-save.c
- Authentication-results: sourceware.org; auth=none
- References: <12235_1389377088_52D03640_12235_1644_1_9C88BF562A27AA41B242B2780441926E210D2857DA at THSONEA01CMS05P dot one dot grp>
> 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