This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sim/16018] New: gdb-7.6.1/sim/erc32/float.c:95: bad switch statement ?


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

            Bug ID: 16018
           Summary: gdb-7.6.1/sim/erc32/float.c:95: bad switch statement ?
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sim
          Assignee: sergiodj at redhat dot com
          Reporter: dcb314 at hotmail dot com

Offending source code is

     switch (fsr) {
    case 0:
    case 2: break;
    case 1: fsr = 3;
    case 3: fsr = 1;
     }

Basic coding error. Suggest add break statements.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]