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

--- Comment #4 from Domani Hannes <ssbssa at yahoo dot de> ---
(In reply to Martin Liška from comment #3)
> Note that original function does:
> 
>     void calcPercent( const char *name,int pos,int size )
>     {
>       int percent = 100*pos/size;
>       if( percent!=m_percent )
>         m_percent = percent;
>     }
> 
> So arguments are shifted by one. Martin can you please take a look?

In div0.exe.ltrans0.000i.cgraph it looks like this:

    calcPercent.constprop (struct Combined * const this, int pos, int size)

Could this have anything to do with the argument shift?

Reply via email to