From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92557 invoked by alias); 8 Apr 2015 13:57:14 -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 92545 invoked by uid 89); 8 Apr 2015 13:57:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f45.google.com Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com) (209.85.215.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 08 Apr 2015 13:57:12 +0000 Received: by lagv1 with SMTP id v1so66583273lag.3 for ; Wed, 08 Apr 2015 06:57:09 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.173.41 with SMTP id bh9mr23004796lbc.107.1428501429229; Wed, 08 Apr 2015 06:57:09 -0700 (PDT) Received: by 10.152.45.3 with HTTP; Wed, 8 Apr 2015 06:57:09 -0700 (PDT) In-Reply-To: <1427451870-16466-1-git-send-email-tbsaunde+gcc@tbsaunde.org> References: <1427451870-16466-1-git-send-email-tbsaunde+gcc@tbsaunde.org> Date: Wed, 08 Apr 2015 13:57:00 -0000 Message-ID: Subject: Re: [PATCH] fix building for alpha-dec-vms From: Bernhard Reutner-Fischer To: tbsaunde+gcc@tbsaunde.org Cc: GCC Patches , Richard Henderson , tgingold@free.fr, douglas.b.rupp@gmail.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00312.txt.bz2 [CC ing maintainers] Ping. On 27 March 2015 at 11:24, wrote: > From: Trevor Saunders > > Hi, > > Unfortunately when testing r217869 I didn't realize the modified code in > alpha.c was only used for some alpha targets. So testing alpha-linux wasn't > enough or even really useful :( > > I tested cc1 for alpha-dec-vms now builds as discussed before make all-gcc is > still broken because the vms targets don't support c++ and don't say it > shouldn't be built in config.gcc. Is this ok? > > Trev > > > diff --git a/gcc/ChangeLog b/gcc/ChangeLog > index 37258ad..fac42d6 100644 > --- a/gcc/ChangeLog > +++ b/gcc/ChangeLog > @@ -1,3 +1,9 @@ > +2015-03-27 Trevor Saunders > + > + * config/alpha/alpha.c (alpha_use_linkage): Change type of slot to > + alpha_links **. > + (alpha_write_one_linkage): Correct typo. > + > 2015-03-27 Marek Polacek > > PR sanitizer/65583 > diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c > index 554ff09..67c15dc 100644 > --- a/gcc/config/alpha/alpha.c > +++ b/gcc/config/alpha/alpha.c > @@ -9665,7 +9665,7 @@ alpha_use_linkage (rtx func, bool lflag, bool rflag) > if (cfun->machine->links) > { > /* Is this name already defined? */ > - alpha_links *slot = cfun->machine->links->get (name); > + alpha_links **slot = cfun->machine->links->get (name); > if (slot) > al = *slot; > } > @@ -9711,7 +9711,7 @@ alpha_use_linkage (rtx func, bool lflag, bool rflag) > } > > static int > -alpha_write_one_linkage (const char *name, alpha_links *link, FILE *steam) > +alpha_write_one_linkage (const char *name, alpha_links *link, FILE *stream) > { > ASM_OUTPUT_INTERNAL_LABEL (stream, XSTR (link->linkage, 0)); > if (link->rkind == KIND_CODEADDR) > -- > 2.1.4 >