Skip to content

Commit 757f990

Browse files
committed
guard goto label to prevent compiler warning
1 parent 486c672 commit 757f990

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vpr/src/place/place.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,11 @@ void try_place(const t_placer_opts& placer_opts,
891891
} while (update_annealing_state(&state, success_rat, costs, placer_opts, annealing_sched));
892892
/* Outer loop of the simmulated annealing ends */
893893

894+
#ifdef ENABLE_ANALYTIC_PLACE
895+
// guard quench label, otherwise compiler complains about unused label
894896
quench:
897+
#endif /* ENABLE_ANALYTIC_PLACE */
898+
895899
auto pre_quench_timing_stats = timing_ctx.stats;
896900
{ /* Quench */
897901
vtr::ScopedFinishTimer temperature_timer("Placement Quench");

0 commit comments

Comments
 (0)