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/113221] [14 Regression][aarch64]ICE in extract_insn, at recog.cc:2812 since r14-6605-gc0911c6b357ba9
Date: Wed, 03 Jan 2024 18:19:13 +0000	[thread overview]
Message-ID: <bug-113221-4-c3GmvzdY0R@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113221-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
IRA decided to combine:
```
(insn 9 8 19 3 (set (reg/f:DI 104)
        (lo_sum:DI (reg/f:DI 105)
            (symbol_ref:DI ("bar") [flags 0x41]  <function_decl 0x7ff639b05f00
bar>))) "t.c":5:10 discrim 1 -1
     (expr_list:REG_DEAD (reg/f:DI 105)
        (expr_list:REG_EQUAL (symbol_ref:DI ("bar") [flags 0x41] 
<function_decl 0x7ff639b05f00 bar>)
            (nil))))
...
(insn 21 20 11 3 (set (reg/f:DI 110)
        (lo_sum:DI (reg/f:DI 109)
            (symbol_ref:DI ("bar") [flags 0x41]  <function_decl 0x7ff639b05f00
bar>))) "t.c":5:10 discrim 1 -1
     (expr_list:REG_DEAD (reg/f:DI 109)
        (expr_list:REG_EQUAL (symbol_ref:DI ("bar") [flags 0x41] 
<function_decl 0x7ff639b05f00 bar>)
            (nil))))
(insn 11 21 27 3 (parallel [
            (set (reg:DI 106)
                (plus:DI (reg:DI 106)
                    (const_int 4 [0x4])))
            (set (mem:SI (reg:DI 106) [0  S4 A8])
                (subreg:SI (reg/f:DI 104) 0))
            (set (mem:SI (plus:DI (reg:DI 106)
                        (const_int 4 [0x4])) [0  S4 A8])
                (subreg:SI (reg/f:DI 110) 0))
        ]) "t.c":5:10 discrim 1 102 {*storewb_post_pair_4}
     (nil))

```



to:
```
(insn 11 20 27 3 (parallel [
            (set (reg:DI 106)
                (plus:DI (reg:DI 106)
                    (const_int 4 [0x4])))
            (set (mem:SI (reg:DI 106) [0  S4 A8])
                (subreg:SI (lo_sum:DI (reg/f:DI 105)
                        (symbol_ref:DI ("bar") [flags 0x41]  <function_decl
0x7ff639b05f00 bar>)) 0))
            (set (mem:SI (plus:DI (reg:DI 106)
                        (const_int 4 [0x4])) [0  S4 A8])
                (subreg:SI (lo_sum:DI (reg/f:DI 109)
                        (symbol_ref:DI ("bar") [flags 0x41]  <function_decl
0x7ff639b05f00 bar>)) 0))
        ]) "t.c":5:10 discrim 1 102 {*storewb_post_pair_4}
     (expr_list:REG_DEAD (reg/f:DI 109)
        (expr_list:REG_DEAD (reg/f:DI 105)
            (nil))))

```

But I have no idea why though ...

  parent reply	other threads:[~2024-01-03 18:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03 18:07 [Bug target/113221] New: " mjires at suse dot cz
2024-01-03 18:09 ` [Bug target/113221] " pinskia at gcc dot gnu.org
2024-01-03 18:13 ` pinskia at gcc dot gnu.org
2024-01-03 18:13 ` pinskia at gcc dot gnu.org
2024-01-03 18:19 ` pinskia at gcc dot gnu.org [this message]
2024-01-08 12:52 ` jakub at gcc dot gnu.org
2024-01-16 23:24 ` pinskia at gcc dot gnu.org
2024-01-16 23:31 ` pinskia at gcc dot gnu.org
2024-01-17  0:10 ` pinskia at gcc dot gnu.org
2024-01-17  3:38 ` pinskia at gcc dot gnu.org
2024-01-17 22:03 ` cvs-commit at gcc dot gnu.org
2024-01-17 22:04 ` pinskia at gcc dot gnu.org
2024-01-18 15:26 ` 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-113221-4-c3GmvzdY0R@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).