public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN
       [not found] <bug-71460-4@http.gcc.gnu.org/bugzilla/>
@ 2023-06-05  7:29 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: pinskia at gcc dot gnu.org @ 2023-06-05  7:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2021-08-22 00:00:00         |2023-6-5

--- Comment #29 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
;; y = x;

(insn 19 18 20 (set (reg:DF 91)
        (mem/c:DF (plus:SI (reg/f:SI 77 virtual-stack-vars)
                (const_int -8 [0xfffffffffffffff8])) [1 xD.3254+0 S8 A64]))
"/app/example.cpp":16:5 -1
     (nil))

(insn 20 19 0 (set (mem/c:DF (plus:SI (reg/f:SI 77 virtual-stack-vars)
                (const_int -16 [0xfffffffffffffff0])) [1 yD.3255+0 S8 A64])
        (reg:DF 91)) "/app/example.cpp":16:5 -1
     (nil))


Oh yes because the struct has one element so it will have a DFmode so it will
copy via DF here ...

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-05  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-71460-4@http.gcc.gnu.org/bugzilla/>
2023-06-05  7:29 ` [Bug target/71460] Copying structs can trap (on x86-32) due to SNaN to QNaN pinskia at gcc dot gnu.org

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).