Skip to content

Commit 7b44290

Browse files
authored
Merge pull request #741 from diffblue/synth-tc
Verilog: fix synthesis for typecast expression
2 parents 441747b + ebb0699 commit 7b44290

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/verilog/verilog_synthesis.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ exprt verilog_synthesist::synth_expr(exprt expr, symbol_statet symbol_state)
316316
if(expr.id() == ID_typecast)
317317
{
318318
auto &typecast_expr = to_typecast_expr(expr);
319-
typecast_expr.op() = synth_expr(typecast_expr.op(), symbol_state);
320319

321320
const auto &src_type = typecast_expr.op().type();
322321
const auto &dest_type = typecast_expr.type();

0 commit comments

Comments
 (0)