Re: [Boost-bugs] [Boost C++ Libraries] #9231: Suboptimal assignment

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9231: Suboptimal assignment
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-12 11:56:13


#9231: Suboptimal assignment
-------------------------------+----------------------------
  Reporter: psiha | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: multiprecision
   Version: Boost 1.54.0 | Severity: Optimization
Resolution: fixed | Keywords:
-------------------------------+----------------------------

Comment (by psiha):

 MSVC is good at propagating constants (which need not be actual ICEs, but
 can be resolved as such at LTCG time) so that resize() is receiving two
 constants there...the fact that the compiler wasn't able to fully
 eliminate the code (the function call isn't there, it was inlined but not
 fully eliminated, I could see some branching) smells of something 'weird'
 being done in the resize() function...don't have time currently to examine
 the matter further...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9231#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC