THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below.

User who did this: - Gabe Black (gblack)

Attached to Project - M5 Bugs
Summary - strange, possibly wrong return value in i8254xGBe descSize
function
Task Type - Bug
Category - Device Models
Status - New
Assigned To - Ali Saidi
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 2.0beta5
Due in Version - 
Due Date - Undecided
Details - The descSize function in i8254xGBe_defs.hh returns a -1 in a
few places, even though it has an unsigned return type. It's possible
this is to indicate an error, or a convenient way to return a very
large size. In the former case, it doesn't look like the -1 is ever
checked for, so any error being flagged would probably go unnoticed
and cause strange downstream behavior. In both cases, the implicit
conversion of -1 to an unsigned value causes certain versions of gcc
to warn, and that causes compilation to fail. The warning would likely
go away if the conversion was explicit, ie. (unsigned)(-1).

More information can be found at the following URL:
http://www.m5sim.org/flyspray/task/336

You are receiving this message because you have requested it from the
Flyspray bugtracking system.  You can be removed from future
notifications by visiting the URL shown above.

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to