3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-08 10:25:19 +00:00
yosys/passes
Rupert Swarbrick 0d9beb5b2e Silence warning in select.cc
With GCC 9.3, at least, compiling select.cc spits out a warning about
an implausible bound being passed to strncmp. This comes from inlining
IdString::compare(): it turns out that passing std::string::npos as a
bound to strncmp triggers it.

This patch replaces the compare call with a memcmp with the same
effect. The repeated calls to IdString::c_str are slightly
inefficient, but I'll address that in a follow-up commit.
2020-05-27 09:34:15 +01:00
..
cmds Silence warning in select.cc 2020-05-27 09:34:15 +01:00
equiv kernel: big fat patch to use more ID::*, otherwise ID(*) 2020-04-02 09:51:32 -07:00
fsm kernel: big fat patch to use more ID::*, otherwise ID(*) 2020-04-02 09:51:32 -07:00
hierarchy submod: revert accidental change 2020-05-14 10:33:56 -07:00
memory memory_bram: Fix ignorance of valid, matched rules 2020-04-10 21:48:04 +01:00
opt opt_expr: Sx to Sz; spotted by @Xiretza 2020-05-14 12:14:23 -07:00
pmgen xilinx: xilinx_dsp_cascade to check CREG for DSP48E1 only 2020-04-22 17:43:25 -07:00
proc kernel: big fat patch to use more ID::*, otherwise ID(*) 2020-04-02 09:51:32 -07:00
sat qbfsat: Remove cruft inadvertently left untouched in commit 86fc49a9d6. 2020-05-23 00:53:09 +00:00
techmap abc9_ops: update comment 2020-05-21 21:39:13 -07:00
tests Add plusargs for output files in test_autotb output 2020-05-02 11:21:01 +02:00