Re: [PATCH] Relax assertion in profile.cc

2022-10-24 Thread Richard Biener via Gcc-patches
On Mon, Oct 24, 2022 at 10:26 AM Eric Botcazou via Gcc-patches wrote: > > Hi, > > this assertion in branch_prob: > > if (bb == ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) > { > location_t loc = DECL_SOURCE_LOCATION (current_function_decl); > gcc_checking_assert (!RESERVED_LOCATION_P

[PATCH] Relax assertion in profile.cc

2022-10-24 Thread Eric Botcazou via Gcc-patches
Hi, this assertion in branch_prob: if (bb == ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) { location_t loc = DECL_SOURCE_LOCATION (current_function_decl); gcc_checking_assert (!RESERVED_LOCATION_P (loc)); had been correct until: 2021-08-11 Bernd Edlinger PR debug/101598