From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Strange test in stdalign.m4 Date: Fri, 29 Mar 2013 19:42:13 -0700 Organization: UCLA Computer Science Department Message-ID: <51565105.9010005@cs.ucla.edu> References: <8338ve5k4u.fsf@gnu.org> <5155C712.2090409@cs.ucla.edu> <83txnu3yoo.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1364611351 14107 80.91.229.3 (30 Mar 2013 02:42:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Mar 2013 02:42:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 30 03:42:58 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ULlkp-0007dp-Ci for ged-emacs-devel@m.gmane.org; Sat, 30 Mar 2013 03:42:51 +0100 Original-Received: from localhost ([::1]:43081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULlkQ-0006la-SR for ged-emacs-devel@m.gmane.org; Fri, 29 Mar 2013 22:42:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULlkN-0006lK-5Q for emacs-devel@gnu.org; Fri, 29 Mar 2013 22:42:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULlkL-0007cd-ES for emacs-devel@gnu.org; Fri, 29 Mar 2013 22:42:23 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:60150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULlkJ-0007c5-VV; Fri, 29 Mar 2013 22:42:20 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 5383F39E810A; Fri, 29 Mar 2013 19:42:18 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tO-n+lpPeKDc; Fri, 29 Mar 2013 19:42:18 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-71-189-154-249.lsanca.fios.verizon.net [71.189.154.249]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id E7B4C39E8106; Fri, 29 Mar 2013 19:42:17 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 In-Reply-To: <83txnu3yoo.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158461 Archived-At: On 03/29/2013 10:25 AM, Eli Zaretskii wrote: >> The test works for me, with GCC 4.7.2 and 4.8.0. But you're right, it >> > does rely on an extension to ISO C11. Which GCC versions >> > were you using? > The newest one was 4.4.3 (on fencepost). But fencepost GCC 4.4.3 lacks stdalign.h, which means the test program that you gave should fail to compile, and the stdalign.h test's failure to compile under GCC 4.4.3 is a feature not a bug. I.e., although you've found a portability problem in that test, I don't see how the problem is relevant to GCC 4.4.3. You mentioned earlier that you saw the following diagnostics: ta.c:36: error: expected specifier-qualifier-list before =E2=80=98align= as_int=E2=80=99 ta.c:36: error: =E2=80=98struct =E2=80=99 has no member name= d =E2=80=98__b=E2=80=99 Which compiler version emitted these diagnostics?