public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernd Schmidt <bschmidt@redhat.com>
To: Uros Bizjak <ubizjak@gmail.com>,
	       "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH, rtl-optimization]: Fix PR77452, ICE: in plus_constant, at explow.c
Date: Mon, 05 Sep 2016 10:34:00 -0000	[thread overview]
Message-ID: <0cbecf48-b40b-844e-63b6-1f6d7ea2fd05@redhat.com> (raw)
In-Reply-To: <CAFULd4ZJ4BKDUSee=PjQc892pDg1uxR+XsUbG4Lw38xi_oBd5Q@mail.gmail.com>

On 09/04/2016 02:12 PM, Uros Bizjak wrote:
> As shown in the PR [1], combine is able to simplify lowpart
> CONST_VECTOR constant pool reference to its inner-mode reference.
> However, plus_constant was not able to extract the constant from
> narrowed access.
>
> Attached patch teaches plus_constant how to handle this situation.

Ok. It looks like accesses to non-lowpart subregs would be handled by 
not optimizing them as well rather than crashing.


Bernd

  reply	other threads:[~2016-09-05 10:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04 14:08 Uros Bizjak
2016-09-05 10:34 ` Bernd Schmidt [this message]
2016-09-05 11:23   ` Richard Biener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0cbecf48-b40b-844e-63b6-1f6d7ea2fd05@redhat.com \
    --to=bschmidt@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=ubizjak@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).