hubert-reinterpretcast wrote:

> So if getfoo() is called anywhere else it will be in the literal encoding and 
> match the asm string as well.

The case that is not tested is the one where a string that is "physically 
present" in the inline asm is passed to a constexpr function to produce the asm 
string. It may be mildly surprising that numeric escape sequences don't work 
the same inside the parentheses for the constant expression.

https://github.com/llvm/llvm-project/pull/169803
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to