mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Merge pull request #991 from kristofferkoch/gcc9-warnings
Fix all warnings that occurred when compiling with gcc9
This commit is contained in:
commit
3870e7cf29
5 changed files with 9 additions and 5 deletions
|
@ -298,7 +298,7 @@ struct BugpointPass : public Pass {
|
|||
if (!check_logfile(grep))
|
||||
log_cmd_error("The provided grep string is not found in the log file!\n");
|
||||
|
||||
int seed = 0, crashing_seed = seed;
|
||||
int seed = 0;
|
||||
bool found_something = false, stage2 = false;
|
||||
while (true)
|
||||
{
|
||||
|
@ -324,7 +324,6 @@ struct BugpointPass : public Pass {
|
|||
if (crashing_design != design)
|
||||
delete crashing_design;
|
||||
crashing_design = simplified;
|
||||
crashing_seed = seed;
|
||||
found_something = true;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -397,7 +397,6 @@ struct FlowGraph
|
|||
pool<RTLIL::SigBit> x, xi;
|
||||
|
||||
NodePrime source_prime = {source, true};
|
||||
NodePrime sink_prime = {sink, false};
|
||||
pool<NodePrime> visited;
|
||||
vector<NodePrime> worklist = {source_prime};
|
||||
while (!worklist.empty())
|
||||
|
@ -1382,7 +1381,8 @@ struct FlowmapWorker
|
|||
|
||||
vector<RTLIL::SigBit> input_nodes(lut_edges_bw[node].begin(), lut_edges_bw[node].end());
|
||||
RTLIL::Const lut_table(State::Sx, max(1 << input_nodes.size(), 1 << minlut));
|
||||
for (unsigned i = 0; i < (1 << input_nodes.size()); i++)
|
||||
unsigned const mask = 1 << input_nodes.size();
|
||||
for (unsigned i = 0; i < mask; i++)
|
||||
{
|
||||
ce.push();
|
||||
for (size_t n = 0; n < input_nodes.size(); n++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue