From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8F0DB38B7C11; Fri, 7 Jun 2024 01:28:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F0DB38B7C11 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717723695; bh=2bNLbCn2m1TazLJ+q/5mDDluGu4HrVQCbSMYbABGrWA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gjJI23CRgXIZJ6YD3KcRX7U9abCzVWyafvkM37t/+iZA26K7P/RTtoC3Y8BZVn1Du ++K85xfGZrm8IjAMn/Xfi6UOW9pJCXHydopmWbinI2WIVIYAy/P2I+Eqjc7ELHMJBk oYkbotjeS39u+SOa9czBnMi+gOhZyci6VfdjxBkI= From: "liuhongt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/115365] New test case gcc.dg/pr100927.c from r15-1022-gb05288d1f1e4b6 fails Date: Fri, 07 Jun 2024 01:28:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: liuhongt at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 15.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D115365 --- Comment #5 from Hongtao Liu --- (In reply to Rainer Orth from comment #4) > Unfortunately, the fix broke 32-bit Solaris/SPARC in exchange: >=20 > FAIL: gcc.dg/pr100927.c scan-rtl-dump-times final "(?n)\\\\(fix:SI" 3 >=20 /* { dg-final { scan-rtl-dump-times {(?n)^[ \t]*\(fix:SI} 3 "final" } } */ The new fix is to check there're only space or tab before (fix:SI, and use = "^[ \t]*", so does solaris use ^ as line header? I try grep "^[ \t]*(fix:SI" your.dump (fix:SI (fix:SF (reg:SF 40 %f8 [111])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":13:1 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [111])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":22:1 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [111])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":31:1 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [112])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":12:10 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [112])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":21:10 213 {fix_truncsfsi2} (fix:SI (fix:SF (reg:SF 40 %f8 [112])))) "/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":30:10 213 {fix_truncsfsi2} And it works on my x86-pc-linux-gnu machine.=