From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 469A5385840B; Tue, 23 Nov 2021 12:36:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 469A5385840B From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs Date: Tue, 23 Nov 2021 12:36:12 +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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org 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: Tue, 23 Nov 2021 12:36:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102772 --- Comment #7 from Rainer Orth --- There's another instance of the same problem: libgomp.fortran/pointer2.f90 FAILs at -O2 and above: FAIL: libgomp.fortran/pointer2.f90 -O2 execution test FAIL: libgomp.fortran/pointer2.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: libgomp.fortran/pointer2.f90 -O3 -g execution test Program received signal SIGSEGV: Segmentation fault - invalid memory refere= nce. Backtrace for this error: Segmentation Fault Thread 9 received signal SIGSEGV, Segmentation fault. [Switching to Thread 2 (LWP 2)] 0x080517ba in MAIN__::MAIN__._omp_fn.0 () at /vol/gcc/src/hg/master/local/libgomp/testsuite/libgomp.fortran/pointer2.f90= :14 14 !$omp parallel copyin (thr) reduction(.or.:l) reduction(+:i) 1: x/i $pc =3D> 0x80517ba : movaps %xmm7,-0x28(%ebx) (gdb) where #0 0x080517ba in MAIN__::MAIN__._omp_fn.0 () at /vol/gcc/src/hg/master/local/libgomp/testsuite/libgomp.fortran/pointer2.f90= :14 #1 0xfe2d40dc in gomp_thread_start (xdata=3D) at /vol/gcc/src/hg/master/local/libgomp/team.c:129 #2 0xfdfd327b in _thrp_setup () from /lib/libc.so.1 #3 0xfdfd35b0 in ?? () from /lib/libc.so.1 #4 0x00000000 in ?? () (gdb) p/x $ebx $1 =3D 0xfe1202c0 (gdb) p/x $ebx-0x28 $2 =3D 0xfe120298 so this is another unaligned access, it seems.=