re PR debug/83585 (Assembler messages: Error: can't resolve `.text' {.text section...
authorJakub Jelinek <jakub@redhat.com>
Thu, 4 Jan 2018 17:47:55 +0000 (18:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 4 Jan 2018 17:47:55 +0000 (18:47 +0100)
commit64d620ef974744e0760111c379d53a39094442d7
tree2f432edbe8b617362e357013f9856c45c9a710d3
parentbc80e846ebdacda29ff21eced06898c7f35a4201
re PR debug/83585 (Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section})

PR debug/83585
* bb-reorder.c (insert_section_boundary_note): Set has_bb_partition
to switched_sections.

* gcc.dg/pr83585.c: New test.

From-SVN: r256256
gcc/ChangeLog
gcc/bb-reorder.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr83585.c [new file with mode: 0644]