This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug sim/18575] New: h8300/compile.c:3844: bad if test ?
- From: "dcb314 at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 22 Jun 2015 15:55:53 +0000
- Subject: [Bug sim/18575] New: h8300/compile.c:3844: bad if test ?
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18575
Bug ID: 18575
Summary: h8300/compile.c:3844: bad if test ?
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: sim
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
CC: vapier at gentoo dot org
Target Milestone: ---
[binutils-gdb/sim/h8300/compile.c:3844]: (warning) Logical disjunction always
evaluates to true: mac > 2147483647 || mac < 18446744071562067968.
Source code is
if (mac > 0x7fffffff || mac < 0xffffffff80000000LL)
Maybe better code
if (mac > 0x7fffffff && mac < 0xffffffff80000000LL)
--
You are receiving this mail because:
You are on the CC list for the bug.