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/101925] [10 Regression] reversed storage order when compiling with -O3 only since r10-4742-g9b75f56d4b7951c6
Date: Wed, 13 Oct 2021 11:09:07 +0000	[thread overview]
Message-ID: <bug-101925-4-CjXJqb5TSL@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-101925-4@http.gcc.gnu.org/bugzilla/>

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

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

https://gcc.gnu.org/g:66615029ec831da23b481cd3a01e90cff02c6891

commit r10-10207-g66615029ec831da23b481cd3a01e90cff02c6891
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Aug 16 15:17:08 2021 +0200

    tree-optimization/101925 - fix VN with reverse storage order

    This fixes value-numbering breaking reverse storage order accesses
    due to a missed check.  It adds a new overload for
    reverse_storage_order_for_component_p and sets reversed on the
    VN IL ops for component and array accesses accordingly.
    It also compares the reversed reference ops flag on reference
    lookup.

    2021-08-16  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/101925
            * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Set
            reverse on COMPONENT_REF and ARRAY_REF according to
            what reverse_storage_order_for_component_p does.
            (vn_reference_eq): Compare reversed on reference ops.
            (reverse_storage_order_for_component_p): New overload.
            (vn_reference_lookup_3): Check
reverse_storage_order_for_component_p
            on the reference looked up.

            * gcc.dg/sso-16.c: New testcase.

    (cherry picked from commit 0215b3559e55f39f38e10984a804c53907f7491c)

  parent reply	other threads:[~2021-10-13 11:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15 23:43 [Bug c/101925] New: reversed storage order when compiling with -O3 only george.thopas at gmail dot com
2021-08-15 23:50 ` [Bug tree-optimization/101925] " pinskia at gcc dot gnu.org
2021-08-16  8:08 ` [Bug tree-optimization/101925] [10/11/12 Regression] " marxin at gcc dot gnu.org
2021-08-16  8:22 ` [Bug tree-optimization/101925] [10/11/12 Regression] reversed storage order when compiling with -O3 only since r10-4742-g9b75f56d4b7951c6 rguenth at gcc dot gnu.org
2021-08-16  9:27 ` ebotcazou at gcc dot gnu.org
2021-08-16 10:45 ` rguenth at gcc dot gnu.org
2021-08-16 11:20 ` rguenth at gcc dot gnu.org
2021-08-16 12:20 ` ebotcazou at gcc dot gnu.org
2021-08-16 13:16 ` rguenther at suse dot de
2021-08-16 13:21 ` rguenth at gcc dot gnu.org
2021-08-17  7:25 ` cvs-commit at gcc dot gnu.org
2021-09-06  8:50 ` [Bug tree-optimization/101925] [10/11 " cvs-commit at gcc dot gnu.org
2021-10-13 11:09 ` cvs-commit at gcc dot gnu.org [this message]
2021-10-13 11:10 ` [Bug tree-optimization/101925] [10 " rguenth 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-101925-4-CjXJqb5TSL@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).