Hi Jakub, > On Wed, Nov 29, 2017 at 05:21:22PM -0500, Vladimir Makarov wrote: >> The following patch fixes >> >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80818 >> >> The patch was successfully tested and bootstrapped on x86_64. The patch >> has no test because it is hard to check the problem. I checked manually > > This changed fixed PR83252 which has a reasonably small testcase. > I've further reduced it using creduce (with -O0 -W{,maybe-}uninitialized > and/or -fsanitize=undefined checking, plus test that it succeeds with > r255258 and fails with r255257). Can you please double check if the > testcase represents the same issue you were working on or if your change > merely made the bug latent again? > > 2017-12-04 Jakub Jelinek <ja...@redhat.com> > > PR target/83252 > * gcc.target/i386/i386.exp (check_effective_target_bmi2): Moved to ... > * lib/target-supports.exp (check_effective_target_bmi2): ... here. > Guard with > i?86-*-* x86_64-*-*. > * g++.dg/opt/pr83252.C: New test.
the new testcase FAILs on Solaris/x86 with /bin/as: +FAIL: g++.dg/opt/pr83252.C -std=gnu++11 execution test +FAIL: g++.dg/opt/pr83252.C -std=gnu++14 execution test +FAIL: g++.dg/opt/pr83252.C -std=gnu++98 execution test ld.so.1: pr83252.exe: fatal: pr83252.exe: hardware capability (CA_SUNW_HW_2) unsupported: 0x80 [ BMI2 ] Inside gcc.target/i386, clearcap.exp takes care of that. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University