https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69285
Bug ID: 69285 Summary: libstdc++-v3/include/parallel/partition.h: 2 * array index check after use ? Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- 1. [trunk/libstdc++-v3/include/parallel/partition.h:294]: (style) Array index '__final_left' is used before limits check. while (__pred(__begin[__final_left]) && __final_left < __final_right) ++__final_left; 2. [trunk/libstdc++-v3/include/parallel/partition.h:170]: (style) Array index '__thread_left' is used before limits check. while (__pred(__begin[__thread_left]) && __thread_left <= __thread_left_border) ++__thread_left;