New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 1489 - Issues found by PVS-Studio static code analyzer
Summary: Issues found by PVS-Studio static code analyzer
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.4 (development)
Hardware: All All
: Normal Unknown
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 09:30 UTC by Mykhailo Lytvyn
Modified: 2017-11-21 09:31 UTC (History)
3 users (show)



Attachments
PVS log file (4.42 KB, text/plain)
2017-11-21 09:30 UTC, Mykhailo Lytvyn
no flags Details

Description Mykhailo Lytvyn 2017-11-21 09:30:13 UTC
Created attachment 806 [details]
PVS log file

The warnings and issues found by analyzer can be found in the attached file eigen_pvs_warnings.txt.
Comment 1 Mykhailo Lytvyn 2017-11-21 09:31:15 UTC
There are also warning on uninitialized member:

Eigen/src/Core/arch/SSE/Complex.h:23:1: warning: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: v.
  Eigen/src/Core/arch/SSE/Complex.h:270:1: warning: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: v.
  Eigen/src/Core/arch/CUDA/Half.h:59:1: warning: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: x.
  Eigen/src/LU/FullPivLU.h:447:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nonzero_pivots, m_det_pq.
  Eigen/src/LU/FullPivLU.h:453:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nonzero_pivots, m_det_pq.
  Eigen/src/LU/FullPivLU.h:466:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nonzero_pivots, m_det_pq.
  Eigen/src/QR/FullPivHouseholderQR.h:90:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nonzero_pivots, m_det_pq.
  Eigen/src/QR/FullPivHouseholderQR.h:106:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nonzero_pivots, m_det_pq.
  Eigen/src/QR/ColPivHouseholderQR.h:86:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nonzero_pivots, m_det_pq.
  Eigen/src/QR/ColPivHouseholderQR.h:103:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nonzero_pivots, m_det_pq.
  Eigen/src/SVD/SVDBase.h:246:1: warning: V730 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: m_computeFullU, m_computeThinU, m_computeFullV, m_comput
  Eigen/src/SVD/BDCSVD.h:110:1: warning: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_nRec, m_isTranspose, m_compU, m_compV.
  Eigen/src/SVD/BDCSVD.h:120:1: warning: V730 It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: m_nRec.
  Eigen/src/Eigenvalues/EigenSolver.h:116:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_eigenvectorsOk.
  Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:121:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_eigenvectorsOk.
  Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:141:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_eigenvectorsOk.
  Eigen/src/Eigenvalues/RealQZ.h:89:1: error: V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_computeQZ, m_global_iter.

Note You need to log in before you can comment on or make changes to this bug.