This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: virtual-stack-vars reference not resolved in vregs
- From: Paul Koning <paulkoning at comcast dot net>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 27 May 2018 13:08:54 -0400
- Subject: Re: virtual-stack-vars reference not resolved in vregs
- References: <815571FD-AE59-4D56-9AFA-73F605A4DCC0@comcast.net> <6976655.QsN8PLxYON@polaris>
> On May 25, 2018, at 2:11 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>
>> Is this something the back end is responsible for getting right, for example
>> via the machine description file? If so, any hints where to start?
>
> The SUBREG of MEM is invalid at this stage.
Thanks. That pointed me to the problem: the .md file contained a
define_expand for truncsihi2, which is not useful given that the word
length is 2. Deleting it cured the problem.
paul