From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17667 invoked by alias); 4 Jan 2012 17:28:04 -0000 Received: (qmail 17657 invoked by uid 22791); 4 Jan 2012 17:28:02 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Jan 2012 17:27:49 +0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/51753] New: Many gcc.dg/simultate-thread tests fail on Solaris 10+/x86 Date: Wed, 04 Jan 2012 17:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-01/txt/msg00424.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51753 Bug #: 51753 Summary: Many gcc.dg/simultate-thread tests fail on Solaris 10+/x86 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: ro@gcc.gnu.org CC: ubizjak@gmail.com Host: i386-pc-solaris2.1[01] Target: i386-pc-solaris2.1[01] Build: i386-pc-solaris2.1[01] Many of the new gcc.dg/simulate-thread tests FAIL on Solaris 10 and 11/x86, both 32 and 64-bit: FAIL: gcc.dg/simulate-thread/atomic-other-int.c -O1 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-int.c -O2 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-int.c -O3 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-int.c -Os -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-longlong.c -O0 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-longlong.c -O1 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-longlong.c -O2 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-longlong.c -O3 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-longlong.c -Os -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-short.c -O1 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-short.c -O2 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-short.c -O3 -g thread simulation test FAIL: gcc.dg/simulate-thread/atomic-other-short.c -Os -g thread simulation test This happens neither on Solaris 8 and 9/x86 (32-bit only), nor on x86_64-unknown-linux-gnu or i686-unknown-linux-gnu, using gdb 7.3.1 everywhere. E.g. in atomic-other-int.c, the __atomic_fetch_sub FAILs; if I add logging code to test_abort, I find FAIL: invalid intermediate result for value value = 1 ret = 0 I'm uncertain if this is a code generation issue or a problem on the gdb side. Rainer