[Bug tree-optimization/45115] pure functions returning structs are not optimized.

2024-04-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45115 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/45115] pure functions returning structs are not optimized.

2023-02-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45115 --- Comment #4 from Jonathan Wakely --- This affects C++20 three-way comparisons, which return trivial structs wrapping an integer. >From PR 108635: #include struct S { std::weak_ordering operator<=>(const S&) const __attr

[Bug tree-optimization/45115] pure functions returning structs are not optimized.

2023-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45115 Andrew Pinski changed: What|Removed |Added CC||jzwinck at gmail dot com --- Comment #3

[Bug tree-optimization/45115] pure functions returning structs are not optimized.

2010-07-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-28 20:05 --- We can only value-number things which define an SSA name. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/45115] pure functions returning structs are not optimized.

2010-07-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-28 19:48 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|norma