From patchwork Mon Dec 10 12:12:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Buclaw X-Patchwork-Id: 1010391 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-491992-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gdcproject.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="UBl8ZMKb"; 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 43D25S1bXSz9s6w for ; Mon, 10 Dec 2018 23:12:42 +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 :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=Ju6dBZtVhlo10Qxb+WuSgATPFUDSHvDiLIpb9nHEVktCTt RjynjvWTfWSnECSrPhONx8c6Kac2Tl2RetXxCovbAHyc1RJfV+w9IFiB+uVGF+Ms LaoHnRwCMNIIVPmszIA0b9uT5CHadvjiFq9wy9iRRJ6eeCVyAsGKPurF7jqwM= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=o+8H5p0+twb8LKxGHXhaymyUNn4=; b=UBl8ZMKbPH2qZyqWQmjG aCB+trPxEqS1ZIBfm7J+hKA2paR51crKkJbV6j80/dSC8lFYv2DH9wtHaIenMHGb Hjx7GNXjZ/Na3Yo8r9C1UHa+oLBOmHrFeyGAL4gvlpnU3avmpuA1EC7Ivwn+Cpt4 gT6GvYV38n+dRz/rS797TXo= Received: (qmail 91598 invoked by alias); 10 Dec 2018 12:12:35 -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 89265 invoked by uid 89); 10 Dec 2018 12:12:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=2079 X-HELO: mail-qt1-f172.google.com Received: from mail-qt1-f172.google.com (HELO mail-qt1-f172.google.com) (209.85.160.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Dec 2018 12:12:32 +0000 Received: by mail-qt1-f172.google.com with SMTP id k12so11930680qtf.7 for ; Mon, 10 Dec 2018 04:12:30 -0800 (PST) MIME-Version: 1.0 From: Iain Buclaw Date: Mon, 10 Dec 2018 13:12:17 +0100 Message-ID: Subject: [PATCH, libphobos] Committed fix modify immutable error on Solaris To: gcc-patches X-IsSubscribed: yes Hi, This is another Solaris backport from druntime 2.079, fixing a build error in the core.thread module. Bootstrapped and tested on i386-pc-solaris2.11. Committed to trunk as r266950. diff --git a/libphobos/libdruntime/core/thread.d b/libphobos/libdruntime/core/thread.d index ff15d066a49..98a81425f47 100644 --- a/libphobos/libdruntime/core/thread.d +++ b/libphobos/libdruntime/core/thread.d @@ -1547,7 +1547,7 @@ private: version (Solaris) { - __gshared immutable bool m_isRTClass; + __gshared bool m_isRTClass; } private: