projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c00e06
)
Fixed gcc 7.2 "statement will never be executed" warning
author
Clifford Wolf
<clifford@clifford.at>
Sat, 3 Feb 2018 13:31:47 +0000
(14:31 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 3 Feb 2018 13:31:47 +0000
(14:31 +0100)
backends/ilang/ilang_backend.cc
patch
|
blob
|
history
diff --git
a/backends/ilang/ilang_backend.cc
b/backends/ilang/ilang_backend.cc
index 16d1a97f537b080b6e73636587ccff0382aa05c2..1f7f12361caf60cee082003f02dfaac1e9fac1c8 100644
(file)
--- a/
backends/ilang/ilang_backend.cc
+++ b/
backends/ilang/ilang_backend.cc
@@
-219,7
+219,7
@@
void ILANG_BACKEND::dump_proc_sync(std::ostream &f, std::string indent, const RT
{
f << stringf("%s" "sync ", indent.c_str());
switch (sy->type) {
-
if (0)
case RTLIL::ST0: f << stringf("low ");
+ case RTLIL::ST0: f << stringf("low ");
if (0) case RTLIL::ST1: f << stringf("high ");
if (0) case RTLIL::STp: f << stringf("posedge ");
if (0) case RTLIL::STn: f << stringf("negedge ");