public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "law at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/109848] New: [14 Regression] Recent change causing testsuite ICE on csky port
Date: Sat, 13 May 2023 21:43:50 +0000	[thread overview]
Message-ID: <bug-109848-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 109848
           Summary: [14 Regression] Recent change causing testsuite ICE on
                    csky port
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: law at gcc dot gnu.org
  Target Milestone: ---

This patch:

commit cc0e22b3f25d4b2a326322bce711179c02377e6c
Author: Richard Biener <rguenther@suse.de>
Date:   Fri May 12 13:43:27 2023 +0200

    tree-optimization/64731 - extend store-from CTOR lowering to TARGET_MEM_REF

    The following also covers TARGET_MEM_REF when decomposing stores from
    CTORs to supported elementwise operations.  This avoids spilling
    and cleans up after vector lowering which doesn't touch loads or
    stores.  It also mimics what we already do for loads.

            PR tree-optimization/64731
            * tree-ssa-forwprop.cc (pass_forwprop::execute): Also
            handle TARGET_MEM_REF destinations of stores from vector
            CTORs.

            * gcc.target/i386/pr64731.c: New testcase.


Is causing the csky port to abort in forwprop with an verify_ssa failure
FAIL: gcc.dg/torture/pr52407.c   -O2  (internal compiler error: verify_ssa
failed)
FAIL: gcc.dg/torture/pr52407.c   -O2  (test for excess errors)
Excess errors:
/home/jlaw/test/gcc/gcc/testsuite/gcc.dg/torture/pr52407.c:22:1: error:
definition in block 3 follows the use
for SSA_NAME: _38 in statement:
_24 = &MEM[(vl_t *)_38];
during GIMPLE pass: forwprop
/home/jlaw/test/gcc/gcc/testsuite/gcc.dg/torture/pr52407.c:22:1: internal
compiler error: verify_ssa failed
0x11a93bf verify_ssa(bool, bool)
        /home/jlaw/test/gcc/gcc/tree-ssa.cc:1203
0xe5f8a5 execute_function_todo
        /home/jlaw/test/gcc/gcc/passes.cc:2105
0xe5e4de do_per_function
        /home/jlaw/test/gcc/gcc/passes.cc:1694
0xe5fa4e execute_todo
        /home/jlaw/test/gcc/gcc/passes.cc:2152


Testsuite is gcc.dg/torture/pr52407 can can be seen with just a cross compiler.

             reply	other threads:[~2023-05-13 21:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-13 21:43 law at gcc dot gnu.org [this message]
2023-05-14 16:47 ` [Bug tree-optimization/109848] " pinskia at gcc dot gnu.org
2023-05-15  6:22 ` rguenth at gcc dot gnu.org
2023-05-15  8:41 ` cvs-commit at gcc dot gnu.org
2023-05-15  8:42 ` 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-109848-4@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).