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

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> I added hints to size() and capacity() and it caused regressions, see PR
> 110060
> 
> It makes it less likely for size() to be inlined, and causes:
> 
> FAIL: g++.dg/pr104547.C  -std=gnu++14  scan-tree-dump-not vrp2
> "_M_default_append"

The inlining issue was fixed with r15-5336-gcee7d080d5c2a5 (and a few others).

Reply via email to