From patchwork Sun Dec 31 13:30:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 854220 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-469923-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="n6eY+njW"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z8h6K6Yd3z9s7g for ; Mon, 1 Jan 2018 00:30:46 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; q=dns; s=default; b=DHdZEGDcrz+iYfkXOJNIgFnbh2WXyzxn7qu9S1Z0Hgr hk9EEGK+9PUrjODATUAqycJ3s5/kYu7mQpFfcY8tmlwhz3XPvCrVymd1SpmywpxX +XUeeF2KutWgdAKnWS07CCHQWZ2qyRPcvijnrenEImO6gZkOom9e9R0H95ChC8UQ = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; s=default; bh=BeUEIiNkziguT87bbXXBFxrkgvk=; b=n6eY+njWJtY+jBz/G C1l46EY0vxZU2KO3lBWiTdlstr6DYXG7jiZv9ap9y51LK+BOt2jmlxVusoLPSNu4 IdA7pAlbFTB0VVa0CwD18gDv+1K06oAfig5Y8m1cxBPllS+jMBH+sqKzpGfiY0aF o+D/eETkOqLkDry5fzeiSfxltE= Received: (qmail 6737 invoked by alias); 31 Dec 2017 13:30:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 6623 invoked by uid 89); 31 Dec 2017 13:30:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=inconvenience X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 31 Dec 2017 13:30:25 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3579D85542 for ; Sun, 31 Dec 2017 13:30:16 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-90.ams2.redhat.com [10.36.116.90]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D2BC25D6A2 for ; Sun, 31 Dec 2017 13:30:15 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id vBVDUD8H006967 for ; Sun, 31 Dec 2017 14:30:13 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id vBVDUCf5006966 for gcc-patches@gcc.gnu.org; Sun, 31 Dec 2017 14:30:12 +0100 Date: Sun, 31 Dec 2017 14:30:12 +0100 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] Fix mingw bootstrap (PR target/83536) Message-ID: <20171231133012.GR1833@tucnak> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-IsSubscribed: yes Hi! These attributes are guarded by preprocessor conditionals and so my error in the recent patch swapping handler and the bool flag went unnoticed. Fixed thusly, tested by building cross to mingw32, committed as obvious. Sorry for the inconvenience. 2017-12-31 Jakub Jelinek PR target/83536 * config/i386/i386.c (ix86_attribute_table): Remove excess initializer for "shared" attribute. Jakub --- gcc/config/i386/i386.c.jj 2017-12-31 14:22:15.700946330 +0100 +++ gcc/config/i386/i386.c 2017-12-31 14:22:07.046941201 +0100 @@ -44747,7 +44747,7 @@ static const struct attribute_spec ix86_ { "dllexport", 0, 0, false, false, false, false, handle_dll_attribute, NULL }, { "shared", 0, 0, true, false, false, false, - ix86_handle_shared_attribute, false, NULL }, + ix86_handle_shared_attribute, NULL }, #endif { "ms_struct", 0, 0, false, false, false, false, ix86_handle_struct_attribute, NULL },