Re: [Bug tree-optimization/28944] New: tree-dce incorrectly removes an assignment.
asm volatile ( "push %1 \n\t" "call *%0 \n\t" "add$4, %%esp \n\t" : : "r" ( &test ), "r" ( &x ) ); asm statements are not allowed to alter control flow
[Bug tree-optimization/28944] New: tree-dce incorrectly removes an assignment.
#ifdef __i386__ #include struct obj { void foo() { std::printf( "foo(): this -> %p, val = %d\n", (void*)this, val ); } int val; }; void test( obj& o ) { o.foo(); } int main() { obj x; x.val = 7;