[Bug tree-optimization/106677] Abstraction overhead with std::views::join

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 18 19:43:11 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106677

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #0)
> sum_vec gets relatively nice, short code. sum_array gets something uglier.
> 
>   _18 = &foo_5(D)->m_array;
>   _6 = foo_5(D) + 24;
>   if (_6 != _18)

That is related to PR 89317.


More information about the Gcc-bugs mailing list