Commit 4d0e904f by Uros Bizjak

pr79671_0.C (foo): Fix asm constraints.

	* g++.dg/lto/pr79671_0.C (foo): Fix asm constraints.

From-SVN: r247550
parent d1b5f5cc
2017-05-03 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/lto/pr79671_0.C (foo): Fix asm constraints.
2017-05-03 Richard Biener <rguenther@suse.de> 2017-05-03 Richard Biener <rguenther@suse.de>
* gcc.dg/vect/costmodel/x86_64/costmodel-alignpeel.c: New testcase. * gcc.dg/vect/costmodel/x86_64/costmodel-alignpeel.c: New testcase.
...@@ -5,7 +9,8 @@ ...@@ -5,7 +9,8 @@
2017-05-03 Jakub Jelinek <jakub@redhat.com> 2017-05-03 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/79472 PR tree-optimization/79472
* gcc.dg/tree-ssa/vrp40.c: Add -fno-tree-switch-conversion to dg-options. * gcc.dg/tree-ssa/vrp40.c: Add -fno-tree-switch-conversion
to dg-options.
* gcc.dg/tree-ssa/vrp113.c: New test. * gcc.dg/tree-ssa/vrp113.c: New test.
* gcc.dg/tree-ssa/cswtch-3.c: New test. * gcc.dg/tree-ssa/cswtch-3.c: New test.
* gcc.dg/tree-ssa/cswtch-4.c: New test. * gcc.dg/tree-ssa/cswtch-4.c: New test.
......
...@@ -13,7 +13,7 @@ int __attribute__((noinline)) foo() ...@@ -13,7 +13,7 @@ int __attribute__((noinline)) foo()
new (&x) B (0); new (&x) B (0);
y = x; y = x;
B *q = reinterpret_cast <B *>(&y); B *q = reinterpret_cast <B *>(&y);
asm volatile ("" : "=r" (q) : "r" (q)); asm volatile ("" : "+r" (q));
return q->i; return q->i;
} }
extern "C" void bar (); extern "C" void bar ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment