public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/102505] [10/11/12 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2368
Date: Mon, 27 Sep 2021 22:01:14 +0000	[thread overview]
Message-ID: <bug-102505-4-3InYdAbR7h@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102505-4@http.gcc.gnu.org/bugzilla/>

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamborm at gcc dot gnu.org
   Last reconfirmed|                            |2021-09-27
     Ever confirmed|0                           |1
             Target|                            |x86_64-*-*
          Component|c++                         |tree-optimization
   Target Milestone|---                         |10.4
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=93516,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=93667,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=93845,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=93776,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=94598,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=96730,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=96820,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=101626
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-on-valid-code

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed more reduced:
struct D  { int i;  int pad alignas(16); };
struct B : virtual D
{
  int j =84;
  int k =84;
};

struct C: B { };

int main()
{
  C c;
  if (c.j != 84 || c.k != 84)
    __builtin_abort();
}
---- CUT ----

Most likely  r10-6276-g1d8593070a62b.

What I don't get is why the ICE only happens on x86_64 and not on aarch64.  I
moved over to using alignas instead of long double to be similar on both
targets.

  parent reply	other threads:[~2021-09-27 22:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 19:49 [Bug c/102505] New: " gscfq@t-online.de
2021-09-27 19:49 ` [Bug c/102505] " gscfq@t-online.de
2021-09-27 22:01 ` pinskia at gcc dot gnu.org [this message]
2021-09-28  8:36 ` [Bug tree-optimization/102505] [10/11/12 Regression] ICE in verify_sra_access_forest with 16 byte aligned field and virtual inheritance rguenth at gcc dot gnu.org
2021-09-30  9:52 ` [Bug tree-optimization/102505] [10/11/12 Regression] ICE in verify_sra_access_forest with 16 byte aligned field and virtual inheritance since r10-6321-g636e80eea24b780f marxin at gcc dot gnu.org
2021-10-07 15:48 ` jamborm at gcc dot gnu.org
2021-10-21 10:58 ` jamborm at gcc dot gnu.org
2021-10-21 12:56 ` cvs-commit at gcc dot gnu.org
2021-10-25 13:27 ` cvs-commit at gcc dot gnu.org
2021-10-27 17:17 ` cvs-commit at gcc dot gnu.org
2021-11-02 10:19 ` cvs-commit at gcc dot gnu.org
2021-11-02 12:29 ` jamborm 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-102505-4-3InYdAbR7h@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).