yosys/passes/opt
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
..
Makefile.inc Add opt_mem_widen pass. 2021-08-14 01:06:23 +02:00
muxpack.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
opt.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
opt_clean.cc opt_clean: Make the init attribute follow the FF's Q. 2021-08-22 15:38:29 +02:00
opt_demorgan.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
opt_dff.cc opt_dff: fix sequence point copy paste bug 2022-01-04 18:18:08 +01:00
opt_expr.cc Hook up $aldff support in various passes. 2021-10-02 21:01:21 +02:00
opt_lut.cc opt_lut: Allow more than one -dlogic per cell type. 2021-07-29 17:30:07 +02:00
opt_lut_ins.cc gowin: widelut support (#3042) 2021-11-06 16:09:30 +01:00
opt_mem.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
opt_mem_feedback.cc kernel/mem: Introduce transparency masks. 2021-08-11 00:04:16 +02:00
opt_mem_priority.cc opt_mem_priority: Fix non-ascii char in help message. 2021-12-09 00:56:14 +01:00
opt_mem_widen.cc Add opt_mem_widen pass. 2021-08-14 01:06:23 +02:00
opt_merge.cc opt_merge: Remove and reinsert init when connecting nets. 2021-08-22 18:34:11 +02:00
opt_muxtree.cc opt_muxtree: Update port_off and port_idx even for constant bits 2021-06-11 12:06:35 +01:00
opt_reduce.cc Add v2 memory cells. 2021-08-11 13:34:10 +02:00
opt_share.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
pmux2shiftx.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
rmports.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
share.cc Add v2 memory cells. 2021-08-11 13:34:10 +02:00
wreduce.cc Add v2 memory cells. 2021-08-11 13:34:10 +02:00