Message ID | CAD57uCcF3hZSNoKGHyYHS6=qOZ-Njvxc6fJRYu3oqCU9B4mchg@mail.gmail.com |
---|---|
State | New |
Headers | show |
On 13 July 2017 at 14:02, Yvan Roux <yvan.roux@linaro.org> wrote: > Hi, > > as discussed in the PR, this patch adds a new reduced testcase which > doesn't rely on c++17 features, this is a prereq to the backport of > the fix into GCC 6 branch which is impacted by this issue. > > Validated on x86, ARM and AArch64 targets. > > Ok for trunk ? and maybe on gcc-7-branch ? ping > Thanks, > Yvan > > gcc/testsuite > 2017-07-13 Yvan Roux <yvan.roux@linaro.org> > > PR c++/80287 > * g++.dg/pr80287.C: New test.
On 4 August 2017 at 15:52, Yvan Roux <yvan.roux@linaro.org> wrote: > On 13 July 2017 at 14:02, Yvan Roux <yvan.roux@linaro.org> wrote: >> Hi, >> >> as discussed in the PR, this patch adds a new reduced testcase which >> doesn't rely on c++17 features, this is a prereq to the backport of >> the fix into GCC 6 branch which is impacted by this issue. >> >> Validated on x86, ARM and AArch64 targets. >> >> Ok for trunk ? and maybe on gcc-7-branch ? > > ping ping https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00730.html >> Thanks, >> Yvan >> >> gcc/testsuite >> 2017-07-13 Yvan Roux <yvan.roux@linaro.org> >> >> PR c++/80287 >> * g++.dg/pr80287.C: New test.
On 08/18/2017 04:28 AM, Yvan Roux wrote: > https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00730.html > >>> Thanks, >>> Yvan >>> >>> gcc/testsuite >>> 2017-07-13 Yvan Roux <yvan.roux@linaro.org> >>> >>> PR c++/80287 >>> * g++.dg/pr80287.C: New test. ok -- Nathan Sidwell
diff --git a/gcc/testsuite/g++.dg/pr80287.C b/gcc/testsuite/g++.dg/pr80287.C new file mode 100644 index 00000000000..da8d3fab150 --- /dev/null +++ b/gcc/testsuite/g++.dg/pr80287.C @@ -0,0 +1,13 @@ +// PR c++/80287 +// { dg-do compile { target c++11 } } +// { dg-options "-g" } + +struct A { + operator long() {} +} __attribute__((__may_alias__)); + +struct { + A ino; +} a; + +char b = a.ino;