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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjambor at suse dot cz

--- Comment #36 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
One problem is that _M_construct is called with const char * __beg, const char
* __end iterators and then length of the string is determined as __end-__beg.
If we had variant that simply takes length argument, then IPA would work out
that construction is cheap in this case because string fits to local bugger.

We don't have jump function to represent "parameter 2 points 18 bytes after
parameter 1"

Another optimization blocker is that _M_create is not defined so it is not
clear what it does with the string.

Reply via email to