@@ -635,7 +635,7 @@ static void instantiate_atomic_fetch_op(
635635 const symbol_exprt result =
636636 result_symbol (identifier_with_type, type, source_location, symbol_table)
637637 .symbol_expr ();
638- block.add (codet{ID_decl_block, {code_declt {result}}});
638+ block.add (codet{ID_decl_block, {code_frontend_declt {result}}});
639639
640640 // place operations on *ptr in an atomic section
641641 block.add (code_expressiont{side_effect_expr_function_callt{
@@ -697,7 +697,7 @@ static void instantiate_atomic_op_fetch(
697697 const symbol_exprt result =
698698 result_symbol (identifier_with_type, type, source_location, symbol_table)
699699 .symbol_expr ();
700- block.add (codet{ID_decl_block, {code_declt {result}}});
700+ block.add (codet{ID_decl_block, {code_frontend_declt {result}}});
701701
702702 // place operations on *ptr in an atomic section
703703 block.add (code_expressiont{side_effect_expr_function_callt{
@@ -810,7 +810,7 @@ static void instantiate_sync_val_compare_and_swap(
810810 const symbol_exprt result =
811811 result_symbol (identifier_with_type, type, source_location, symbol_table)
812812 .symbol_expr ();
813- block.add (codet{ID_decl_block, {code_declt {result}}});
813+ block.add (codet{ID_decl_block, {code_frontend_declt {result}}});
814814
815815 // place operations on *ptr in an atomic section
816816 block.add (code_expressiont{side_effect_expr_function_callt{
@@ -868,7 +868,7 @@ static void instantiate_sync_lock_test_and_set(
868868 const symbol_exprt result =
869869 result_symbol (identifier_with_type, type, source_location, symbol_table)
870870 .symbol_expr ();
871- block.add (codet{ID_decl_block, {code_declt {result}}});
871+ block.add (codet{ID_decl_block, {code_frontend_declt {result}}});
872872
873873 // place operations on *ptr in an atomic section
874874 block.add (code_expressiont{side_effect_expr_function_callt{
@@ -990,7 +990,7 @@ static void instantiate_atomic_load_n(
990990 const symbol_exprt result =
991991 result_symbol (identifier_with_type, type, source_location, symbol_table)
992992 .symbol_expr ();
993- block.add (codet{ID_decl_block, {code_declt {result}}});
993+ block.add (codet{ID_decl_block, {code_frontend_declt {result}}});
994994
995995 block.add (code_expressiont{side_effect_expr_function_callt{
996996 symbol_exprt::typeless (ID___atomic_load),
@@ -1105,7 +1105,7 @@ static void instantiate_atomic_exchange_n(
11051105 const symbol_exprt result =
11061106 result_symbol (identifier_with_type, type, source_location, symbol_table)
11071107 .symbol_expr ();
1108- block.add (codet{ID_decl_block, {code_declt {result}}});
1108+ block.add (codet{ID_decl_block, {code_frontend_declt {result}}});
11091109
11101110 block.add (code_expressiont{side_effect_expr_function_callt{
11111111 symbol_exprt::typeless (ID___atomic_exchange),
@@ -1142,7 +1142,7 @@ static void instantiate_atomic_compare_exchange(
11421142 result_symbol (
11431143 identifier_with_type, c_bool_type (), source_location, symbol_table)
11441144 .symbol_expr ();
1145- block.add (codet{ID_decl_block, {code_declt {result}}});
1145+ block.add (codet{ID_decl_block, {code_frontend_declt {result}}});
11461146
11471147 // place operations on *ptr in an atomic section
11481148 block.add (code_expressiont{side_effect_expr_function_callt{
0 commit comments