[Bug rtl-optimization/126686] [16/17 Regression] ICE in require, at machmode.h:323 since r16-26 with -favoid-store-forwarding

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126686

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE in require, at          |[16/17 Regression] ICE in
                   |machmode.h:323 since r16-26 |require, at machmode.h:323
                   |with                        |since r16-26 with
                   |-favoid-store-forwarding    |-favoid-store-forwarding
   Target Milestone|---                         |16.2
                 CC|                            |konstantinos.eleftheriou@vr
                   |                            |ull.eu

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

Store forwarding detected:
From: (insn 22 20 23 2 (set (mem/c:HI (plus:DI (reg/f:DI 34 %fp)
                (const_int -2 [0xfffffffffffffffe])) [0 MEM <char[1:2]> [(void
*)&f + 6B]+0 S2 A16])
        (subreg:HI (reg:SI 77) 2)) :6:3 1955 {*movhi}
     (expr_list:REG_DEAD (reg:SI 77)
        (nil)))
From: (insn 5 9 15 2 (parallel [
            (set (mem/c:BLK (plus:DI (reg/f:DI 34 %fp)
                        (const_int -8 [0xfffffffffffffff8])) [1 MEM <char[6]>
[(long int *)&f]+0 S6 A64])
                (const_int 0 [0]))
            (use (const_int 5 [0x5]))
            (use (const:BLK (unspec:BLK [
                            (const_int 0 [0])
                        ] UNSPEC_INSN)))
            (clobber (scratch:DI))
            (clobber (reg:CC 33 %cc))
        ]) :5:8 2007 {*clrmem_short}
     (expr_list:REG_UNUSED (reg:CC 33 %cc)
        (nil)))
To: (insn 23 22 26 2 (set (reg:DI 79 [ f ])
        (mem/c:DI (plus:DI (reg/f:DI 34 %fp)
                (const_int -8 [0xfffffffffffffff8])) [1 f+0 S8 A64])) :7:7 1913
{*movdi_64}
     (nil))
(Load elimination candidate)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.