From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22087 invoked by alias); 6 Jul 2011 19:16:37 -0000 Received: (qmail 22076 invoked by uid 22791); 6 Jul 2011 19:16:37 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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, 06 Jul 2011 19:16:22 +0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/48727] FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou 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: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 06 Jul 2011 19:16:00 -0000 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: 2011-07/txt/msg00456.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48727 --- Comment #4 from Eric Botcazou 2011-07-06 19:15:49 UTC --- > This also fails on 32-bit Solaris/SPARC with Sun as, which has: > > sethi %hi(_ZN1S5xyzzyEv), %g1 > jmp %g1 + %lo(_ZN1S5xyzzyEv) > sethi %hi(_ZN1S5xyzzyEv), %g1 > jmp %g1 + %lo(_ZN1S5xyzzyEv) > > On the other hand, both 64-bit with Sun as and 32-bit with gas have > > call _ZN1S5xyzzyEv, 0 > call _ZN1S5xyzzyEv, 0 This is OK, these are the 2 forms of a direct tail call on the SPARC: sethi/jmp or call, depending on the capability of the assembler (HAVE_AS_RELAX_OPTION).