public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/45090] x86_64 passing structure by value to a non-inlined function causes register-resident structures to flush to stack
       [not found] <bug-45090-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-05 21:58 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-05 21:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |4.7.0
      Known to work|                            |4.7.1, 4.9.1, 5.1.0
           Keywords|                            |missed-optimization
      Known to fail|                            |4.6.4
         Resolution|---                         |FIXED
           Severity|normal                      |enhancement

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed since GCC 4.7.0 by r0-107261.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug middle-end/45090] x86_64 passing structure by value to a non-inlined function causes register-resident structures to flush to stack
  2010-07-26 21:15 [Bug c++/45090] New: " dickie at acm dot org
@ 2010-07-26 21:24 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-07-26 21:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-07-26 21:24 -------
I think this is correct behavior dealing with how x86_64 ABI describes struct
passing and almost all registers are volatile.

Oh on the trunk test3 gets compiled into a simple loop without any struct being
saved and that is a different issue with the movl, see PR 20408.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |middle-end


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45090


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-05 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45090-4@http.gcc.gnu.org/bugzilla/>
2021-08-05 21:58 ` [Bug middle-end/45090] x86_64 passing structure by value to a non-inlined function causes register-resident structures to flush to stack pinskia at gcc dot gnu.org
2010-07-26 21:15 [Bug c++/45090] New: " dickie at acm dot org
2010-07-26 21:24 ` [Bug middle-end/45090] " pinskia at gcc dot gnu dot 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).