From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E0D903853809; Mon, 21 Mar 2022 12:01:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E0D903853809 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs Date: Mon, 21 Mar 2022 12:01:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: testsuite-fail, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2022 12:01:54 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102772 --- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #10 from Jakub Jelinek --- > Is this with Solaris as or GNU as? both. > I've tried to reproduce it with a cross from x86_64-linux to > i386-pc-solaris2.11 and have > #define HAVE_AS_TLS 1 > in auto-host.h, but I don't see any movaps instructions in pointer2.f90 w= ith > -O2 -fopenmp or -O3 -fopenmp. I do, both at -O2 and -O3: pointer2.s: movaps %xmm1, thr.1@ntpoff(%ebx) pointer2.s: movaps %xmm2, thr.1@ntpoff+16(%ebx) > When I add -msse2 to command line, I see some but it is unclear which exa= ct is > it. > So, can you please attach pointer2.s and say on which exact insn it fails? Will do. Thread 49 received signal SIGSEGV, Segmentation fault. [Switching to Thread 2 (LWP 2)] 0x0805181a in MAIN__._omp_fn.0 () 1: x/i $pc =3D> 0x805181a : movaps %xmm1,-0x28(%ebx) (gdb) x/10i $pc-10 0x8051810 : shlb $0x46,-0x75(%ebx,%eiz,1) 0x8051815 : adc %dh,%bl 0x8051817 : movq (%eax),%mm1 =3D> 0x805181a : movaps %xmm1,-0x28(%ebx) 0x8051821 : movdqu 0x10(%eax),%xmm2 0x8051826 : movaps %xmm2,-0x18(%ebx) (gdb) p/x $ebx $1 =3D 0xfe1202c0 > And also attach your auto-host.h? Sure: I'm attaching the gas one. The only obviously tls-related differences between the two are --- master/11.4-gcc/build/gcc/auto-host.h 2022-03-20 21:20:00.7382846= 45 +0 000 +++ master/11.4-gcc-gas/build/gcc/auto-host.h 2022-03-21 03:06:50.7835230= 35 +0 000 [...] @@ -538 +538 @@ -#define HAVE_AS_IX86_TLSGDPLT 1 +/* #undef HAVE_AS_IX86_TLSGDPLT */ @@ -550 +550 @@ -#define HAVE_AS_IX86_TLSLDMPLT 1 +#define HAVE_AS_IX86_TLSLDMPLT 0=