public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/17778] New: binutils-gdb/bfd/elf32-nds32.c:8513: confused logic ?
@ 2014-12-31 14:46 dcb314 at hotmail dot com
  2020-04-06 17:14 ` [Bug gdb/17778] " ssbssa at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2014-12-31 14:46 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug gdb/17778] binutils-gdb/bfd/elf32-nds32.c:8513: confused logic ?
  2014-12-31 14:46 [Bug gdb/17778] New: binutils-gdb/bfd/elf32-nds32.c:8513: confused logic ? dcb314 at hotmail dot com
@ 2020-04-06 17:14 ` ssbssa at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ssbssa at sourceware dot org @ 2020-04-06 17:14 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17778

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |8.3
                 CC|                            |ssbssa at sourceware dot org
         Resolution|---                         |FIXED

--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
This was fixed in this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=fbaf61ad525eb2818598b699d44df32e46583925

So fixed since version 8.3.

-- 
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:[~2020-04-06 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-31 14:46 [Bug gdb/17778] New: binutils-gdb/bfd/elf32-nds32.c:8513: confused logic ? dcb314 at hotmail dot com
2020-04-06 17:14 ` [Bug gdb/17778] " ssbssa at sourceware 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).