[Bug c++/102528] Unused out-of-line functions emitted for trivial coroutines

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 4 19:55:45 GMT 2021


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

--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> ---

hmm let me see if I can reproduce this (I didn't see it in my earlier tests):

.L41:
        ud2
test():
        ret

which would make things look somewhat strange indeed (the functions are all
TU-local - so absent a reference, the 'normal' processes should elide them.


More information about the Gcc-bugs mailing list