> I think so. We've been allowing that since forever before and before > toplevel asm was allowed to be extended asm in GCC 15, it was the only > way to get something with say immediate constants from the compiler. > So, the only thing that changed in GCC 15 for those is that now one can use > the new constraint letters to tell the compiler about the symbols it defines > or symbols it uses.
I don't see how it can work, except for temporary symbols. If they end up in the same partition the assembler will just give a duplicate symbol error. It must be avoided with noinline/noclone. -Andi
