From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28051 invoked by alias); 11 Feb 2003 22:05:21 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 28044 invoked from network); 11 Feb 2003 22:05:20 -0000 Received: from unknown (HELO vlsi1.ultra.nyu.edu) (128.122.140.213) by 172.16.49.205 with SMTP; 11 Feb 2003 22:05:20 -0000 Received: by vlsi1.ultra.nyu.edu (4.1/1.34) id AA21555; Tue, 11 Feb 03 17:08:20 EST Date: Tue, 11 Feb 2003 22:05:00 -0000 From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Message-Id: <10302112208.AA21555@vlsi1.ultra.nyu.edu> To: neil@daikokuya.co.uk Subject: Re: Altivec + 16 byte alignment Cc: gcc@gcc.gnu.org X-SW-Source: 2003-02/txt/msg00718.txt.bz2 > struct foo { > int x __attribute__((aligned (512))); > } > > which might, or might not, end up on the stack. You could diagnose that when the object of that type is declared, just like we have to make other checks (particularly in C++) at that time. That won't work for Ada, where you have to give the error on the type definition if you can't support the type in all valid contexts.