https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83585

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43021
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43021&action=edit
gcc8-pr83585.patch

Untested fix.  Another option would be to introduce a new flag next to
has_bb_partition, e.g. switched_bb_partitions, and use it in
dwarf2out.c/dbxout.c/rs6000.c where we want to test whether there will be or
was any NOTE_INSN_SWITCHED_SECTIONS note or not.

Reply via email to