mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Internals: Fix GCC constant warnings.
This commit is contained in:
+1
-2
@@ -305,8 +305,7 @@ private:
|
||||
return (nodep->lsbp()->castConst()
|
||||
&& nodep->widthp()->castConst()
|
||||
&& nodep->lsbConst()==0
|
||||
&& (int)nodep->widthConst()==nodep->fromp()->width()
|
||||
&& 1);
|
||||
&& (int)nodep->widthConst()==nodep->fromp()->width());
|
||||
}
|
||||
bool operandSelExtend(AstSel* nodep) {
|
||||
// A pattern created by []'s after offsets have been removed
|
||||
|
||||
Reference in New Issue
Block a user