https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83585
Bug ID: 83585 Summary: [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: assemble-failure Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gas 2.29.1 rejects the code generated by gcc-8.0.0-alpha20171217 snapshot (r255766) w/ -O2 (-O3, -Ofast) -g -fno-tree-dce -fno-guess-branch-probability for the following snippet: int j3 (int tz) { int wy; for (wy = 0; wy < 2; ++wy) if (tz != 0) { int yd; for (yd = 0; yd < 2; ++yd) { } return 0; } return; } % x86_64-pc-linux-gnu-gcc-8.0.0-alpha20171224 -O2 -g -fno-tree-dce -fno-guess-branch-probability -w -c ixdsdxfe.c /tmp/ccWUPZAP.s: Assembler messages: /tmp/ccWUPZAP.s:215: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} /tmp/ccWUPZAP.s:216: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} /tmp/ccWUPZAP.s:220: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} /tmp/ccWUPZAP.s:221: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} /tmp/ccWUPZAP.s:228: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section} /tmp/ccWUPZAP.s:229: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section}