[PATCH] D135818: [clang] Update ASM goto documentation to reflect how Clang differs from GCC
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 13 12:04:18 PDT 2022
shafik added inline comments.
================
Comment at: clang/docs/LanguageExtensions.rst:1555
+ on the indirect branch may result in undefined behavior and should be
+ avoided.
----------------
void wrote:
> shafik wrote:
> > It would be helpful to provide an example of what is not supported. If you can provide an example that actually results in undefined behavior that would be even better.
> I added an example, but it's hard to determine whether a given piece of code will have undefined behavior as it sometimes occurs only on a specific optimization level.
Understood, I think what you have is good. Thank you.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135818/new/
https://reviews.llvm.org/D135818
More information about the cfe-commits
mailing list