public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug sim/18575] New: h8300/compile.c:3844: bad if test ?
@ 2015-06-22 15:55 dcb314 at hotmail dot com
2021-10-31 17:25 ` [Bug sim/18575] sim: h8300: bad if test when checking for saturation vapier at gentoo dot org
0 siblings, 1 reply; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2015-06-22 15:55 UTC (permalink / raw)
To: gdb-prs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug sim/18575] sim: h8300: bad if test when checking for saturation
2015-06-22 15:55 [Bug sim/18575] New: h8300/compile.c:3844: bad if test ? dcb314 at hotmail dot com
@ 2021-10-31 17:25 ` vapier at gentoo dot org
0 siblings, 0 replies; 2+ messages in thread
From: vapier at gentoo dot org @ 2021-10-31 17:25 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18575
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|h8300/compile.c:3844: bad |sim: h8300: bad if test
|if test when checking for |when checking for
|saturation |saturation
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-31 17:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-22 15:55 [Bug sim/18575] New: h8300/compile.c:3844: bad if test ? dcb314 at hotmail dot com
2021-10-31 17:25 ` [Bug sim/18575] sim: h8300: bad if test when checking for saturation vapier at gentoo dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).