https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66886
Bug ID: 66886 Summary: trunk/boehm-gc/darwin_stop_world.c: 2 * redundant code Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: boehm-gc Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- 1. [trunk/boehm-gc/darwin_stop_world.c:335]: (style) Redundant condition: GC_use_mach_handler_thread. 'A && (!A || B)' is equivalent to 'A || B' (!GC_use_mach_handler_thread || (GC_use_mach_handler_thread && GC_mach_handler_thread != thread))) { 2. [trunk/boehm-gc/darwin_stop_world.c:474]: (style) Redundant condition: GC_use_mach_handler_thread. 'A && (!A || B)' is equivalent to 'A || B' (!GC_use_mach_handler_thread || (GC_use_mach_handler_thread && GC_mach_handler_thread != thread))) {