aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/coolrunner2
diff options
context:
space:
mode:
authorMartin Pietryka <martin@pietryka.at>2019-11-23 06:18:23 +0100
committerMartin Pietryka <martin@pietryka.at>2019-11-23 06:21:40 +0100
commit97b22413e533a7fca7a3542dd802321097bdc55c (patch)
treec0ef7d7c8a68175f44ae691c2374382029cca08e /techlibs/coolrunner2
parentc03b6a3e9cab9fc05b2d5b256676f5ddc6c2d763 (diff)
downloadyosys-97b22413e533a7fca7a3542dd802321097bdc55c.tar.gz
yosys-97b22413e533a7fca7a3542dd802321097bdc55c.tar.bz2
yosys-97b22413e533a7fca7a3542dd802321097bdc55c.zip
coolrunner2: remove spurious log_pop() call, fixes #1463
This was causing a segmentation fault because there is no accompanying log_push() call so header_count.size() became -1. Signed-off-by: Martin Pietryka <martin@pietryka.at>
Diffstat (limited to 'techlibs/coolrunner2')
-rw-r--r--techlibs/coolrunner2/synth_coolrunner2.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/techlibs/coolrunner2/synth_coolrunner2.cc b/techlibs/coolrunner2/synth_coolrunner2.cc
index 21bbcaef4..014c68622 100644
--- a/techlibs/coolrunner2/synth_coolrunner2.cc
+++ b/techlibs/coolrunner2/synth_coolrunner2.cc
@@ -194,8 +194,6 @@ struct SynthCoolrunner2Pass : public ScriptPass
if (!json_file.empty() || help_mode)
run(stringf("write_json %s", help_mode ? "<file-name>" : json_file.c_str()));
}
-
- log_pop();
}
} SynthCoolrunner2Pass;