public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved
@ 2021-08-16  0:53 pinskia at gcc dot gnu.org
  2021-08-16  2:13 ` [Bug middle-end/101926] " hjl.tools at gmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-16  0:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101926
           Summary: [meta-bug] struct/complex argument passing and return
                    should be improved
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

There are many of these bugs, for x86_64, aarch64, powerpc, etc.

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

* [Bug middle-end/101926] [meta-bug] struct/complex argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
@ 2021-08-16  2:13 ` hjl.tools at gmail dot com
  2021-12-19  0:26 ` pinskia at gcc dot gnu.org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: hjl.tools at gmail dot com @ 2021-08-16  2:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 88496, which changed state.

Bug 88496 Summary: Unnecessary stack adjustment with -mavx512f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88496

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

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

* [Bug middle-end/101926] [meta-bug] struct/complex argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
  2021-08-16  2:13 ` [Bug middle-end/101926] " hjl.tools at gmail dot com
@ 2021-12-19  0:26 ` pinskia at gcc dot gnu.org
  2022-02-04  0:50 ` pinskia at gcc dot gnu.org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-19  0:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 65912, which changed state.

Bug 65912 Summary: x_rtl.x_frame_offset not updated after frame related insn deleted
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65912

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug middle-end/101926] [meta-bug] struct/complex argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
  2021-08-16  2:13 ` [Bug middle-end/101926] " hjl.tools at gmail dot com
  2021-12-19  0:26 ` pinskia at gcc dot gnu.org
@ 2022-02-04  0:50 ` pinskia at gcc dot gnu.org
  2022-02-04  0:50 ` pinskia at gcc dot gnu.org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-02-04  0:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 104372, which changed state.

Bug 104372 Summary: [ARM] Unnecessary writes to stack when passing aggregate in registers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104372

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

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

* [Bug middle-end/101926] [meta-bug] struct/complex argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-02-04  0:50 ` pinskia at gcc dot gnu.org
@ 2022-02-04  0:50 ` pinskia at gcc dot gnu.org
  2022-06-10 13:55 ` roger at nextmovesoftware dot com
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-02-04  0:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 99712, which changed state.

Bug 99712 Summary: Cannot elide aggregate parameter setup
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99712

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

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

* [Bug middle-end/101926] [meta-bug] struct/complex argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-02-04  0:50 ` pinskia at gcc dot gnu.org
@ 2022-06-10 13:55 ` roger at nextmovesoftware dot com
  2022-11-09 15:59 ` pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: roger at nextmovesoftware dot com @ 2022-06-10 13:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 95126, which changed state.

Bug 95126 Summary: [10/11/12/13 Regression] Missed opportunity to turn static variables into immediates
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95126

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug middle-end/101926] [meta-bug] struct/complex argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-06-10 13:55 ` roger at nextmovesoftware dot com
@ 2022-11-09 15:59 ` pinskia at gcc dot gnu.org
  2023-07-01 20:52 ` [Bug middle-end/101926] [meta-bug] struct/complex/other " pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-09 15:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 55360, which changed state.

Bug 55360 Summary: [TileGX] Passing structure by value on stack needlessly writes to and reads from memory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55360

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

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

* [Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2022-11-09 15:59 ` pinskia at gcc dot gnu.org
@ 2023-07-01 20:52 ` pinskia at gcc dot gnu.org
  2023-07-12 21:35 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-01 20:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-07-01
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

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

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

* [Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2023-07-01 20:52 ` [Bug middle-end/101926] [meta-bug] struct/complex/other " pinskia at gcc dot gnu.org
@ 2023-07-12 21:35 ` pinskia at gcc dot gnu.org
  2023-07-12 21:35 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-12 21:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 101326, which changed state.

Bug 101326 Summary: std::optional returns forced through stack
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101326

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

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

* [Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2023-07-12 21:35 ` pinskia at gcc dot gnu.org
@ 2023-07-12 21:35 ` pinskia at gcc dot gnu.org
  2023-12-07 19:53 ` rsandifo at gcc dot gnu.org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-12 21:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 95383, which changed state.

Bug 95383 Summary: Poor codegen when constructing a trivial Optional
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95383

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

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

* [Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2023-07-12 21:35 ` pinskia at gcc dot gnu.org
@ 2023-12-07 19:53 ` rsandifo at gcc dot gnu.org
  2024-01-04  0:47 ` guojiufu at gcc dot gnu.org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2023-12-07 19:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 109391, which changed state.

Bug 109391 Summary: Inefficient codegen on AArch64 when structure types are returned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109391

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2023-12-07 19:53 ` rsandifo at gcc dot gnu.org
@ 2024-01-04  0:47 ` guojiufu at gcc dot gnu.org
  2024-01-04  1:06 ` guojiufu at gcc dot gnu.org
  2024-03-20  6:49 ` pinskia at gcc dot gnu.org
  12 siblings, 0 replies; 14+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2024-01-04  0:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 112525, which changed state.

Bug 112525 Summary: fail to eliminate unused store
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112525

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2024-01-04  0:47 ` guojiufu at gcc dot gnu.org
@ 2024-01-04  1:06 ` guojiufu at gcc dot gnu.org
  2024-03-20  6:49 ` pinskia at gcc dot gnu.org
  12 siblings, 0 replies; 14+ messages in thread
From: guojiufu at gcc dot gnu.org @ 2024-01-04  1:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 30271, which changed state.

Bug 30271 Summary: -mstrict-align can add an store extra for struct argument passing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30271

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

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

* [Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved
  2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2024-01-04  1:06 ` guojiufu at gcc dot gnu.org
@ 2024-03-20  6:49 ` pinskia at gcc dot gnu.org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-20  6:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 55527, which changed state.

Bug 55527 Summary: Passing structures containing floats by value in calls are underoptimized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55527

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

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

end of thread, other threads:[~2024-03-20  6:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16  0:53 [Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved pinskia at gcc dot gnu.org
2021-08-16  2:13 ` [Bug middle-end/101926] " hjl.tools at gmail dot com
2021-12-19  0:26 ` pinskia at gcc dot gnu.org
2022-02-04  0:50 ` pinskia at gcc dot gnu.org
2022-02-04  0:50 ` pinskia at gcc dot gnu.org
2022-06-10 13:55 ` roger at nextmovesoftware dot com
2022-11-09 15:59 ` pinskia at gcc dot gnu.org
2023-07-01 20:52 ` [Bug middle-end/101926] [meta-bug] struct/complex/other " pinskia at gcc dot gnu.org
2023-07-12 21:35 ` pinskia at gcc dot gnu.org
2023-07-12 21:35 ` pinskia at gcc dot gnu.org
2023-12-07 19:53 ` rsandifo at gcc dot gnu.org
2024-01-04  0:47 ` guojiufu at gcc dot gnu.org
2024-01-04  1:06 ` guojiufu at gcc dot gnu.org
2024-03-20  6:49 ` 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).