Fix huge shifts to zero with -Wno-WIDTH, bug765.

This commit is contained in:
Wilson Snyder
2014-05-13 08:10:59 -04:00
parent cd2d6575c6
commit d7e4bc1379
5 changed files with 104 additions and 6 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ V3Number::V3Number (FileLine* fileline, const char* sourcep) {
}
// Otherwise...
else if (!m_sized) {
width(32, false); // Says the spec.
width(32, false); // Says IEEE 1800-2012 5.7.1
if (unbased) isSigned(true); // Also says the spec.
}