From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50770 invoked by alias); 31 Oct 2015 15:55:06 -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 50757 invoked by uid 89); 31 Oct 2015 15:55:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: aries.uberspace.de Received: from aries.uberspace.de (HELO aries.uberspace.de) (95.143.172.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 31 Oct 2015 15:55:04 +0000 Received: (qmail 2961 invoked from network); 31 Oct 2015 15:55:01 -0000 Received: from localhost (HELO kubuntu.localnet) (127.0.0.1) by aries.uberspace.de with SMTP; 31 Oct 2015 15:55:01 -0000 From: Jan Sommer To: gcc-patches@gcc.gnu.org Cc: devel@rtems.org Subject: Re: [PATCH] Fix declaration of pthread-structs in s-osinte-rtems.ads Date: Sat, 31 Oct 2015 16:17:00 -0000 Message-ID: <1962248.x9lsWC05IS@kubuntu> User-Agent: KMail/5.0.2 (Linux/4.2.0-16-generic; KDE/5.15.0; x86_64; ; ) In-Reply-To: <8173705.y9mlaLCnmB@kubuntu> References: <8173705.y9mlaLCnmB@kubuntu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg03484.txt.bz2 Am Saturday 31 October 2015, 16:47:35 schrieb Jan Sommer: > Hi, > > This patch changes the Ada-declaration of the pthread-related structs such as pthread_attr_t from a field-equivalent declaration to just reserving the right amount of memory. > It is only rtems related and essentially copies the way how the types are defined in s-osinte-linux.ads. It makes the declarations independent of a particular newlib-version and fixes the bug I filed here: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68169 > > CC are the rtems developers for discussion. > I forgot to add: The patch is based on the current gcc 4.9 branch