[llvm-commits] [llvm] r76198 - in /llvm/trunk: docs/LangRef.html include/llvm-c/Core.h include/llvm/Attributes.h lib/AsmParser/LLLexer.cpp lib/AsmParser/LLParser.cpp lib/AsmParser/LLToken.h lib/CodeGen/PrologEpilogInserter.cpp lib/VMCore/Attribut

Eli Friedman eli.friedman at gmail.com
Fri Jul 17 13:35:06 PDT 2009


On Fri, Jul 17, 2009 at 1:01 PM, Anton
Korobeynikov<anton at korobeynikov.info> wrote:
>> Looking with Google Code Search, I can find only one use of naked, and
>> that's a series of inline asm statements with no inputs or outputs;
> Don't trust it (tm) :)
>
> Please grab newlib sources and look into libgloss/arm/linux-crt0.c
> Another example is libgloss/arm/redboot-syscalls.c which indeed
> contains only inline asm blocks.
>
> In such non well-defined cases I'd prefer to be as more bug-to-bug
> compatible with gcc as possible.

Okay... can you at least put a nasty warning in LangRef that such code
is fundamentally undefined?

-Eli



More information about the llvm-commits mailing list