[Bug tree-optimization/102684] [missed optimization] std::min_element / ranges::min_element does not get optimized away with std::gcd

2021-10-11 Thread xkeviota at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102684 --- Comment #3 from Kevin K --- (In reply to Andrew Pinski from comment #2) > (In reply to Richard Biener from comment #1) > > ISTR that clang evaluates constexpr declared things opportunistically as > > constexpr even when that is not required

[Bug c++/102684] New: [missed optimization] std::min_element / ranges::min_element does not get optimized away with std::gcd

2021-10-11 Thread xkeviota at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102684 Bug ID: 102684 Summary: [missed optimization] std::min_element / ranges::min_element does not get optimized away with std::gcd Product: gcc Version: 11.2.1