[Bug middle-end/106804] Poor codegen for selecting and incrementing value behind a reference

2022-09-01 Thread anthony.mikh at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106804 --- Comment #3 from anthony.mikh at yandex dot ru --- (In reply to Andrew Pinski from comment #2) > Clang use of cmov also might produce worse code That's exactly why I wrote "seemingly worse". However, the approach used by clang uses less regis

[Bug c++/106804] New: Poor codegen for selecting and incrementing value behind a reference

2022-09-01 Thread anthony.mikh at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106804 Bug ID: 106804 Summary: Poor codegen for selecting and incrementing value behind a reference Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal