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

--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> ---
I can reproduce this one with LLVM trunk when compiled with '-save-temps -O2'
and then

llvm-mc --triple=amdgcn--amdhsa -mcpu=fiji -filetype=obj
--amdhsa-code-object-version=3 a.xamdgcn-amdhsa.mkoffload.1.s -o foo.o

a.xamdgcn-amdhsa.mkoffload.1.s:634:2: error: undefined label '.L33'

Removing the '.unlikely' from the .section name fixes this (or using -O1).
(I could not reproduce the LLVM 9 issue in PR94278 back then.)

Reply via email to