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

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
clang fails to build with:

cleanup-1.c:13:5: error: cannot jump from this asm goto statement to one of its
possible targets
   13 |     asm goto("jmp %l0" :::: after);
      |     ^
cleanup-1.c:17:1: note: possible target of asm goto statement
   17 | after:
      | ^
cleanup-1.c:11:9: note: jump exits scope of variable with
__attribute__((cleanup))
   11 |     int foo __attribute__((cleanup (my_cleanup))) = 0;
      |         ^
1 error generated.

Reply via email to