From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32526 invoked by alias); 2 Apr 2014 00:37:41 -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 Received: (qmail 32481 invoked by uid 48); 2 Apr 2014 00:37:37 -0000 From: "brooks at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60732] FAIL: g++.dg/ext/altivec-7.C -std=* scan-assembler _Z3fooDv* Date: Wed, 02 Apr 2014 00:37:00 -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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: brooks 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-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00107.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60732 --- Comment #2 from Brooks Moses --- For the record, here's my GCC mailing-list post associated with that commit: http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00836.html As I described there, > The failure is because the test is searching for mangled names of the > form "_Z3fooU8__vectorh", which are only generated by ABI versions 1, > 2, and 3. As noted in the documentation, "Version 4, which first > appeared in G++ 4.5, implements a standard mangling for vector types"; > this standard mangling looks like "_Z3fooDv16_h" instead. > > This patch fixes the failure by adjusting the test to look for the > names using the standard mangling. It passes with all ABI versions; > the compiler always emits the standard symbols, and with versions 1, > 2, and 3 it also emits duplicate symbols with the old mangling." My immediate guess is that my claim that "the compiler always emits the standard symbols [from version 4 of the ABI]" is not true on Darwin. Dominique, what does the generated assembly look like in the (failing) Darwin case?