From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7105 invoked by alias); 4 Aug 2015 02:24:52 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 7088 invoked by uid 89); 4 Aug 2015 02:24:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 X-HELO: mail-io0-f182.google.com Received: from mail-io0-f182.google.com (HELO mail-io0-f182.google.com) (209.85.223.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 04 Aug 2015 02:24:49 +0000 Received: by iodd187 with SMTP id d187so3713928iod.2 for ; Mon, 03 Aug 2015 19:24:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/zghd64RRHA8RYFO83YwxXA0qk+W98LHryYBtxOEOLE=; b=DAH1vvoTIoA9j30HHtx+QoQOlB6nxd2KaHywbxXVBrLcTXCmIIcXrhlT6bNkBYWkU7 7JXPr8e4ZodgBD8MKAbQJkGNbWUkrPsO6ym58QF3Z1+FIIXsacX4C1BJcY0F47hJ86TO Qsj7b410QesI4exD7DxaCwYxuCNmRn7o1L8CDpcWneeTHd0OiqxUTbthQvf/udDm+DwF 78cGLiXbpnsUbdKA97Yjew/eRyXQVJzHIinX+OnT0t4Utj6ldRwGIhDCz8aAawk0LJhx nHvqxk2CjkPkvpxxGU1OLla4SrAt/ixnvTakYfUfB4Br6xIcMN5vsuCHJWwS9/sMoVWk d+mA== X-Gm-Message-State: ALoCoQmt0COvb9vWrwNp+yNXE3fkirAhqXNmg+QNP6sWpD7IK7dw+g3YH7CEzRcwWyYLwUb6YFL3 MIME-Version: 1.0 X-Received: by 10.107.136.160 with SMTP id s32mr1045062ioi.174.1438655087866; Mon, 03 Aug 2015 19:24:47 -0700 (PDT) Received: by 10.79.71.6 with HTTP; Mon, 3 Aug 2015 19:24:47 -0700 (PDT) In-Reply-To: References: Date: Tue, 04 Aug 2015 02:24:00 -0000 Message-ID: Subject: Re: [gofrontend-dev] Re: Go patch committed: Fix error reporting for invalid builtin calls From: Michael Hudson-Doyle To: Ian Lance Taylor Cc: Andreas Schwab , gcc-patches , "gofrontend-dev@googlegroups.com" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-08/txt/msg00136.txt.bz2 Now I get ../../../gcc/libgo/runtime/mprof.goc: In function =E2=80=98runtime_Stack=E2= =80=99: ../../../gcc/libgo/runtime/mprof.goc:437:19: error: =E2=80=98enablegc=E2=80= =99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] mstats.enablegc =3D enablegc; ^ ../../../gcc/libgo/runtime/mprof.goc:406:7: note: =E2=80=98enablegc=E2=80= =99 was declared here bool enablegc; ^ Am I doing something wrong? Cheers, mwh On 4 August 2015 at 05:55, Ian Lance Taylor wrote: > On Mon, Aug 3, 2015 at 2:10 AM, Andreas Schwab wrote: > >> ../../../libgo/runtime/mprof.goc: In function 'runtime_Stack': >> ../../../libgo/runtime/mprof.goc:408:5: error: calling '__builtin_frame_= address' with a nonzero argument is unsafe [-Werror=3Dframe-address] >> sp =3D runtime_getcallersp(&b); > > Fixed by this patch by Chris Manghane. The call was not actually > necessary. Bootstrapped and ran Go testsuite on > x86_64-unknown-linux-gnu. Committed to mainline. This fixes PR > 67101. > > Ian > > -- > You received this message because you are subscribed to the Google Groups= "gofrontend-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to gofrontend-dev+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.