From patchwork Tue Jul 20 23:12:46 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 59387 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 8E64FB70B5 for ; Wed, 21 Jul 2010 09:12:57 +1000 (EST) Received: (qmail 19185 invoked by alias); 20 Jul 2010 23:12:54 -0000 Received: (qmail 19172 invoked by uid 22791); 20 Jul 2010 23:12:53 -0000 X-SWARE-Spam-Status: No, hits=-5.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, SPF_HELO_PASS, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Jul 2010 23:12:48 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o6KNCkjg016219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Jul 2010 19:12:47 -0400 Received: from anchor.twiddle.home (ovpn-113-74.phx2.redhat.com [10.3.113.74]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o6KNCkns032635 for ; Tue, 20 Jul 2010 19:12:46 -0400 Message-ID: <4C462D6E.4050909@redhat.com> Date: Tue, 20 Jul 2010 16:12:46 -0700 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Thunderbird/3.0.5 MIME-Version: 1.0 To: GCC Patches Subject: Unbreak i686-wrs-vxworks build X-IsSubscribed: yes 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 This file got missed when build_decl gained its mandatory location_t argument. Committed. r~ * vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls. diff --git a/gcc/config/vxworks.c b/gcc/config/vxworks.c index 94e412d..2b1525a 100644 --- a/gcc/config/vxworks.c +++ b/gcc/config/vxworks.c @@ -70,19 +70,19 @@ vxworks_emutls_var_fields (tree type, tree *name) *name = get_identifier ("__tls_var"); - field = build_decl (FIELD_DECL, get_identifier ("size"), - unsigned_type_node); + field = build_decl (BUILTINS_LOCATION, FIELD_DECL, + get_identifier ("size"), unsigned_type_node); DECL_CONTEXT (field) = type; next_field = field; - field = build_decl (FIELD_DECL, get_identifier ("module_id"), - unsigned_type_node); + field = build_decl (BUILTINS_LOCATION, FIELD_DECL, + get_identifier ("module_id"), unsigned_type_node); DECL_CONTEXT (field) = type; DECL_CHAIN (field) = next_field; next_field = field; - field = build_decl (FIELD_DECL, get_identifier ("offset"), - unsigned_type_node); + field = build_decl (BUILTINS_LOCATION, FIELD_DECL, + get_identifier ("offset"), unsigned_type_node); DECL_CONTEXT (field) = type; DECL_CHAIN (field) = next_field;