yosys/passes
Austin Seipp b022fe61a7 opt_dff: fix sequence point copy paste bug
Newer GCCs emit the following warning for opt_dff:

    passes/opt/opt_dff.cc:560:17: warning: operation on ‘ff.Yosys::FfData::has_clk’ may be undefined [-Wsequence-point]
      560 |      ff.has_clk = ff.has_ce = ff.has_clk = false;
          |      ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Which is correct: the order of whether the read or write of has_clk
occurs first is undefined since there is no sequence point between them.

This is almost certainly just a typo/copy paste error and objectively
wrong, so just fix it.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2022-01-04 18:18:08 +01:00
..
cmds bugpoint: avoid infinite loop between -connections and -wires. 2021-12-15 08:17:02 +00:00
equiv Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
fsm Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
hierarchy verilog: use derived module info to elaborate cell connections 2021-10-25 18:25:50 -07:00
memory memory_share: Fix SAT-based sharing for wide ports. 2021-12-20 18:40:14 +01:00
opt opt_dff: fix sequence point copy paste bug 2022-01-04 18:18:08 +01:00
pmgen Make it work on all 2021-11-05 10:51:58 +01:00
proc proc_dff: Emit $aldff. 2021-10-27 14:14:24 +02:00
sat FfData: some refactoring. 2021-10-07 04:24:06 +02:00
techmap sta: very crude static timing analysis pass 2021-11-25 17:20:27 +01:00
tests Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00