From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 15AE9385781F; Thu, 18 Mar 2021 15:31:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15AE9385781F From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/99648] New: [11 regression] gcc.dg/torture/pr71522.c fails starting with r11-165 for 32 bits Date: Thu, 18 Mar 2021 15:31:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Thu, 18 Mar 2021 15:31:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99648 Bug ID: 99648 Summary: [11 regression] gcc.dg/torture/pr71522.c fails starting with r11-165 for 32 bits Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:eb72dc663e9070b281be83a80f6f838a3a878822, r11-165 make -k check-gcc RUNTESTFLAGS=3D"--target_board=3Dunix'{-m32}' dg-torture.exp=3Dgcc.dg/torture/pr71522.c" FAIL: gcc.dg/torture/pr71522.c -O1 execution test FAIL: gcc.dg/torture/pr71522.c -O2 execution test FAIL: gcc.dg/torture/pr71522.c -O3 -g execution test FAIL: gcc.dg/torture/pr71522.c -Os execution test FAIL: gcc.dg/torture/pr71522.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone execution test FAIL: gcc.dg/torture/pr71522.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test # of expected passes 8 # of unexpected failures 6 This works fine for 64 bits and worked fine for BE 32 bits for r11-164 and earlier. (gdb) run Starting program: /home/seurer/gcc/git/build/gcc-test/./pr71522.exe=20 Program received signal SIGABRT, Aborted. 0x0fd4b7c8 in __GI_raise (sig=3Dsig@entry=3D6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55 55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); (gdb) where #0 0x0fd4b7c8 in __GI_raise (sig=3Dsig@entry=3D6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55 #1 0x0fd4d584 in __GI_abort () at abort.c:90 #2 0x10000724 in main () at /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/torture/pr71522.c:24 The abort is coming from if (__builtin_strncmp (s, STR, sizeof s) !=3D 0) __builtin_abort (); commit eb72dc663e9070b281be83a80f6f838a3a878822 Author: Richard Biener Date: Wed Apr 22 10:40:51 2020 +0200 extend DECL_GIMPLE_REG_P to all types=