https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92597
--- Comment #9 from Klaus Leppkes <leppkes at stce dot rwth-aachen.de> --- Created attachment 47358 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47358&action=edit Problem with g instead of m example g++ -c error_large_lvalue.cpp error_large_lvalue.cpp: In function ‘void DoNotOptimize(Tp&) [with Tp = Large]’: error_large_lvalue.cpp:16:48: error: inconsistent operand constraints in an ‘asm’ 16 | asm volatile("" : "+g,r"(value) : : "memory");