public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/103038] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092 since r12-4829-g429e3b7d8bf6609d
Date: Tue, 02 Nov 2021 13:17:53 +0000	[thread overview]
Message-ID: <bug-103038-4-sDyVzVT103@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103038-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103038

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:268b43d2592c196ea101946d7063156a914b2713

commit r12-4845-g268b43d2592c196ea101946d7063156a914b2713
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Nov 2 09:58:00 2021 +0100

    middle-end/103038 - avoid ICE with -ftrivial-auto-var-init=pattern

    This avoids ICEing with expanding a VIEW_CONVERT_EXRP of a SSA name
    on the LHS by making sure we can native-interpret OFFSET_TYPE and
    by never building such a LHS but instead view-converting the RHS
    for SSA LHS.

    2021-11-02  Richard Biener  <rguenther@suse.de>

            PR middle-end/103038
            * fold-const.c (native_interpret_expr): Handle OFFSET_TYPE.
            (can_native_interpret_type_p): Likewise.
            * internal-fn.c (expand_DEFERRED_INIT): View-convert the
            RHS if the LHS is an SSA name.

            * g++.dg/pr103038.C: New testcase.

  parent reply	other threads:[~2021-11-02 13:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02  7:58 [Bug tree-optimization/103038] New: " marxin at gcc dot gnu.org
2021-11-02  7:58 ` [Bug tree-optimization/103038] " marxin at gcc dot gnu.org
2021-11-02  8:51 ` pinskia at gcc dot gnu.org
2021-11-02  8:52 ` rguenth at gcc dot gnu.org
2021-11-02  8:53 ` rguenth at gcc dot gnu.org
2021-11-02 13:17 ` rguenth at gcc dot gnu.org
2021-11-02 13:17 ` cvs-commit at gcc dot gnu.org [this message]
2021-11-02 15:52 ` qinzhao at gcc dot gnu.org

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=bug-103038-4-sDyVzVT103@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).