This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/17778] New: binutils-gdb/bfd/elf32-nds32.c:8513: confused logic ?
- From: "dcb314 at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 31 Dec 2014 14:46:36 +0000
- Subject: [Bug gdb/17778] New: binutils-gdb/bfd/elf32-nds32.c:8513: confused logic ?
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17778
Bug ID: 17778
Summary: binutils-gdb/bfd/elf32-nds32.c:8513: confused logic ?
Product: gdb
Version: HEAD
Status: NEW
Severity: minor
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
[binutils-gdb/bfd/elf32-nds32.c:8513] -> [binutils-gdb/bfd/elf32-nds32.c:8515]:
(warning) Opposite conditions in nested 'if' blocks lead to a dead code block.
if (addr < blank_t->offset + blank_t->size)
{
if (addr > blank_t->offset + blank_t->size)
blank_t->size = addr - blank_t->offset;
}
else
{
Suggest code rework.
--
You are receiving this mail because:
You are on the CC list for the bug.