https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901
Bug ID: 104901 Summary: gcc/config/rs6000/mm_malloc.h:46: incorrectLogicOperator Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Static analyser cppcheck says: gcc/config/rs6000/mm_malloc.h:46:37: warning: Logical conjunction always evaluates to false: __alignment == __malloc_align && __alignment == __vec_align. [incorrectLogicOperator] Suggest replace && with ||