This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug boehm-gc/66886] New: trunk/boehm-gc/darwin_stop_world.c: 2 * redundant code
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jul 2015 18:15:44 +0000
- Subject: [Bug boehm-gc/66886] New: trunk/boehm-gc/darwin_stop_world.c: 2 * redundant code
- Auto-submitted: auto-generated
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))) {