[Bug target/103926] "wQ" broken
aik at ozlabs dot ru
gcc-bugzilla@gcc.gnu.org
Thu Jan 6 03:43:39 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103926
--- Comment #3 from Alexey Kardashevskiy <aik at ozlabs dot ru> ---
Documented here:
https://dmalcolm.fedorapeople.org/gcc/2015-08-31/rst-experiment/how-to-use-inline-assembly-language-in-c-code.html
Your example does not compile either (but does not crash :) )
This one does compile:
asm volatile("lq %0, %1" : "=&r" (v) : "wQ" (*(__int128 *)ptr));
Anyway, I posted this bug because of the crash than anything else.
More information about the Gcc-bugs
mailing list