From: Richard Biener Date: Thu, 13 Apr 2017 11:17:38 +0000 (+0000) Subject: re PR testsuite/80416 (FAIL: g++.dg/torture/pr79671.C -O2 execution test) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43a3aa03aca20c7d641cf76354c3572f2a7e5864;p=gcc.git re PR testsuite/80416 (FAIL: g++.dg/torture/pr79671.C -O2 execution test) 2017-04-13 Richard Biener PR testsuite/80416 * g++.dg/torture/pr79671.C: Fix asm constraints. From-SVN: r246902 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3c33b0f40e1..f15ba0343c6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-04-13 Richard Biener + + PR testsuite/80416 + * g++.dg/torture/pr79671.C: Fix asm constraints. + 2017-04-13 Jakub Jelinek PR debug/80321 diff --git a/gcc/testsuite/g++.dg/torture/pr79671.C b/gcc/testsuite/g++.dg/torture/pr79671.C index 94605851ff1..d3c6f9bfb16 100644 --- a/gcc/testsuite/g++.dg/torture/pr79671.C +++ b/gcc/testsuite/g++.dg/torture/pr79671.C @@ -13,7 +13,7 @@ int __attribute__((noinline)) foo() new (&x) B (0); y = x; B *q = reinterpret_cast (&y); - asm volatile ("" : "=r" (q) : "r" (q)); + asm volatile ("" : "=r" (q) : "0" (q)); return q->i; }