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 target/113217] [14 Regression][aarch64] ICE in rtl_verify_bb_insns, at cfgrtl.cc:2796 since r14-6605-gc0911c6b357ba9
Date: Wed, 03 Jan 2024 17:29:06 +0000	[thread overview]
Message-ID: <bug-113217-4-fAAptxOXCX@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113217-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
From:
```
(insn 7 2 8 2 (set (mem:SI (reg/f:DI 103 [ this ]) [1 MEM[(struct vector
*)this_4(D)].D.4476._M_end_of_storage+0 S4 A32])
        (const_int 0 [0])) "/app/example.cpp":6:27 69 {*movsi_aarch64}
     (nil))
(debug_insn 8 7 11 2 (debug_marker:BLK) "/app/example.cpp":6:3 -1
     (nil))
(insn 11 8 42 2 (set (mem:SI (plus:DI (reg/f:DI 103 [ this ])
                (const_int 4 [0x4])) [1 MEM[(struct vector *)this_4(D) +
4B].D.4476._M_end_of_storage+0 S4 A32])
        (const_int 0 [0])) "/app/example.cpp":6:27 69 {*movsi_aarch64}
     (expr_list:REG_EH_REGION (const_int 1 [0x1])
        (nil)))
```

To:
```
(insn 7 2 8 2 (set (mem:V2x4QI (reg/f:DI 103 [ this ]) [0 +0 S8 A32])
        (unspec:V2x4QI [
                (const_int 0 [0]) repeated x2
            ] UNSPEC_STP)) "/app/example.cpp":6:27 90 {*store_pair_4}
     (expr_list:REG_EH_REGION (const_int 1 [0x1])
        (nil)))
(debug_insn 8 7 42 2 (debug_marker:BLK) "/app/example.cpp":6:3 -1
     (nil))
(note 42 8 44 3 [bb 3] NOTE_INSN_BASIC_BLOCK)
```

Most likely we should only handle stores instructions which cannot throw,
insn_nothrow_p .

  parent reply	other threads:[~2024-01-03 17:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03 15:29 [Bug target/113217] New: " mjires at suse dot cz
2024-01-03 17:21 ` [Bug target/113217] " pinskia at gcc dot gnu.org
2024-01-03 17:23 ` acoplan at gcc dot gnu.org
2024-01-03 17:29 ` pinskia at gcc dot gnu.org [this message]
2024-01-03 17:29 ` pinskia at gcc dot gnu.org
2024-01-04 10:36 ` acoplan at gcc dot gnu.org
2024-01-04 15:54 ` pinskia at gcc dot gnu.org
2024-01-05 12:25 ` cvs-commit at gcc dot gnu.org
2024-01-05 12:27 ` acoplan 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-113217-4-fAAptxOXCX@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).