On Thu, 29 Apr 2021, 18:55 Peng Yu via Gcc-help, <gcc-help@xxxxxxxxxxx> wrote: > Hi, > > I have the following embedded assembly code which works fine without > optimization. But it fails when the optimization is enabled. How to > make gcc aware of the fact that the assembly code takes arguments? > Did you check the manual? https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html