Bugzilla – Attachment 806 Details for
Bug 1489
Issues found by PVS-Studio static code analyzer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
PVS log file
eigen_pvs_warnings.txt (text/plain), 4.42 KB, created by
Mykhailo Lytvyn
on 2017-11-21 09:30:13 UTC
(
hide
)
Description:
PVS log file
Filename:
MIME Type:
Creator:
Mykhailo Lytvyn
Created:
2017-11-21 09:30:13 UTC
Size:
4.42 KB
patch
obsolete
> Eigen/src/Core/util/Memory.h:114:1: warning: V701 realloc() possible leak: when realloc() fails in allocating memory, original pointer 'original' is lost. Consider assigning realloc() to a temporary pointer. > Eigen/src/Core/arch/SSE/PacketMath.h:311:1: warning: V512 A call of the '_mm_load_si128' function will lead to overflow of the buffer 'from'. > Eigen/src/Core/arch/SSE/PacketMath.h:344:1: warning: V512 A call of the '_mm_loadu_si128' function will lead to overflow of the buffer 'from'. > Eigen/src/Core/arch/SSE/PacketMath.h:350:1: error: V615 An odd explicit conversion from 'float *' type to 'double *' type. > Eigen/src/Core/arch/SSE/PacketMath.h:350:1: warning: V512 A call of the '_mm_load_sd' function will lead to overflow of the buffer 'from'. > Eigen/src/Core/arch/SSE/PacketMath.h:357:1: warning: V512 A call of the '_mm_loadl_epi64' function will lead to overflow of the buffer 'from'. > Eigen/src/Core/arch/SSE/PacketMath.h:363:1: warning: V512 A call of the '_mm_store_si128' function will lead to overflow of the buffer 'to'. > Eigen/src/Core/arch/SSE/PacketMath.h:367:1: warning: V512 A call of the '_mm_storeu_si128' function will lead to overflow of the buffer 'to'. > Eigen/src/Core/arch/SSE/PacketMath.h:811:1: warning: V601 The bool type is implicitly cast to the float type. Inspect the first argument. > Eigen/src/Core/arch/SSE/PacketMath.h:811:1: warning: V601 The bool type is implicitly cast to the float type. Inspect the second argument. > Eigen/src/Core/arch/SSE/PacketMath.h:811:1: warning: V601 The bool type is implicitly cast to the float type. Inspect the third argument. > Eigen/src/Core/arch/SSE/PacketMath.h:811:1: warning: V601 The bool type is implicitly cast to the float type. Inspect the fourth argument. > Eigen/src/Core/arch/SSE/PacketMath.h:821:1: warning: V601 The bool type is implicitly cast to the double type. Inspect the first argument. > Eigen/src/Core/arch/SSE/PacketMath.h:821:1: warning: V601 The bool type is implicitly cast to the double type. Inspect the second argument. > Eigen/src/Core/arch/CUDA/Half.h:328:1: warning: V673 The '(unsigned int)(15 - 127) << 23' expression evaluates to 36028796079439872. 55 bits are required to store the value, but the expression evaluates to the 'unsigned' type which can only hold '32' bits. > Eigen/src/Core/AssignEvaluator.h:103:1: error: V502 Perhaps the '?:' operator works in a different way than it was expected. The '?:' operator has a lower priority than the '&&' operator. > Eigen/src/Core/StableNorm.h:111:1: error: V501 There are identical sub-expressions to the left and to the right of the '!=' operator: amed != amed > Eigen/src/Core/StableNorm.h:177:1: warning: V560 A part of conditional expression is always true: (16 > 0). > Eigen/src/Core/products/GeneralMatrixVector.h:189:1: warning: V560 A part of conditional expression is always true: FirstAligned. > Eigen/src/Core/products/GeneralMatrixVector.h:189:1: error: V768 The enumeration constant 'FirstAligned' is used as a variable of a Boolean-type. > Eigen/src/Core/products/GeneralMatrixVector.h:190:1: warning: V560 A part of conditional expression is always true: FirstAligned. > Eigen/src/Core/products/GeneralMatrixVector.h:190:1: error: V768 The enumeration constant 'FirstAligned' is used as a variable of a Boolean-type. > Eigen/src/Core/products/GeneralMatrixVector.h:463:1: warning: V560 A part of conditional expression is always true: FirstAligned. > Eigen/src/Core/products/GeneralMatrixVector.h:463:1: error: V768 The enumeration constant 'FirstAligned' is used as a variable of a Boolean-type. > Eigen/src/Core/products/GeneralMatrixVector.h:464:1: warning: V560 A part of conditional expression is always true: FirstAligned. > Eigen/src/Core/products/GeneralMatrixVector.h:464:1: error: V768 The enumeration constant 'FirstAligned' is used as a variable of a Boolean-type. > Eigen/src/Core/BooleanRedux.h:147:1: error: V501 There are identical sub-expressions to the left and to the right of the '==' operator: derived().array() == derived().array() > Eigen/src/Core/BooleanRedux.h:161:1: error: V501 There are identical sub-expressions to the left and to the right of the '-' operator: derived() - derived() > Eigen/src/Cholesky/LLT.h:357:1: warning: V581 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 356, 357. > Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:617:1: error: V763 Parameter 'representative' is always rewritten in function body before being used.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1489
: 806