[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2026-01-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 123010, which changed state.

Bug 123010 Summary: [15 regression] RV64: 32-bit multiply by 2 generates 
slli+srai+slli and doesn't use slliw or addw
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123010

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 123164, which changed state.

Bug 123164 Summary: RV: redundant sp adjustment, when struct is passed via GPRs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123164

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-10-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 80905, which changed state.

Bug 80905 Summary: ARM: Useless initialization of struct passed by value
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80905

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-08-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 90883, which changed state.

Bug 90883 Summary: Generated code is worse if returned struct is unnamed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 99434, which changed state.

Bug 99434 Summary: std::bit_cast generates more instructions than 
__builtin_bit_cast and memcpy with -march=native
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99434

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 25227, which changed state.

Bug 25227 Summary: struct whos size is > 64bit is always on the stack
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25227

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 16657, which changed state.

Bug 16657 Summary: Dead stack adjustion code not removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16657

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-08-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 88778, which changed state.

Bug 88778 Summary: Odd Complex float load
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88778

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-08-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 95756, which changed state.

Bug 95756 Summary: _Complex return with constant 0 could be improved
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95756

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-08-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 70094, which changed state.

Bug 70094 Summary: missed optimization when passing a constant struct argument 
by value
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70094

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 103648, which changed state.

Bug 103648 Summary: Missed optimization on arm64 when returning an empty struct.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103648

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-06-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 89606, which changed state.

Bug 89606 Summary: Extra mov after structure load instructions on aarch64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89606

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-04-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 119679, which changed state.

Bug 119679 Summary: [RISC-V] Compiler adds and removes stack to functions even 
when not needed with a return of struct with 2 unsigned long
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119679

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2025-01-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 101543, which changed state.

Bug 101543 Summary: extra zeroing of empty struct argument/return value
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101543

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2024-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 116274, which changed state.

Bug 116274 Summary: [14 Regression] x86: poor code generation with 16 byte 
function arguments and addition
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116274

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2024-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 116211, which changed state.

Bug 116211 Summary: C Functions returning a struct always manipulate the stack 
pointer on RISC-V targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116211

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 90204, which changed state.

Bug 90204 Summary: [11 Regression] C code is optimized worse than C++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90204

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926
Bug 101926 depends on bug 115351, which changed state.

Bug 115351 Summary: [14 regression] pointless movs when passing by value on 
x86-64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115351

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2024-03-19 Thread pinskia at gcc dot gnu.org via 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

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2024-01-03 Thread guojiufu at gcc dot gnu.org via 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

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2024-01-03 Thread guojiufu at gcc dot gnu.org via 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

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2023-12-07 Thread rsandifo at gcc dot gnu.org via 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

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2023-07-12 Thread pinskia at gcc dot gnu.org via 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

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2023-07-12 Thread pinskia at gcc dot gnu.org via 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

[Bug middle-end/101926] [meta-bug] struct/complex/other argument passing and return should be improved

2023-07-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926

Andrew Pinski  changed:

   What|Removed |Added

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

--- Comment #1 from Andrew Pinski  ---
.