https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100171
--- Comment #4 from Andrew Pinski ---
testcase:
#include
#include
template class foo
{
public:
using array_type = std::array;
array_type
value;
inline constexpr foo&operator+=(const foo& arg)noexcept
{
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100171
--- Comment #3 from Richard Biener ---
Compared to the non-self case where we see
[local count: 357878152]:
_19 = MEM [(const value_type &)arg1_3(D)][0];
_20 = MEM [(const value_type &)arg2_4(D)][0];
_21 = _19 + _20;
_26 = MEM [(c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100171
Richard Biener changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100171
Andrew Pinski changed:
What|Removed |Added
Version|unknown |11.0
Severity|normal