From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72758 invoked by alias); 18 Aug 2015 15:04:33 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 72726 invoked by uid 89); 18 Aug 2015 15:04:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lb0-f170.google.com Received: from mail-lb0-f170.google.com (HELO mail-lb0-f170.google.com) (209.85.217.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 18 Aug 2015 15:04:31 +0000 Received: by lbbtg9 with SMTP id tg9so105679276lbb.1 for ; Tue, 18 Aug 2015 08:04:28 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.17.70 with SMTP id m6mr6710487lbd.113.1439910268412; Tue, 18 Aug 2015 08:04:28 -0700 (PDT) Received: by 10.114.27.4 with HTTP; Tue, 18 Aug 2015 08:04:28 -0700 (PDT) Date: Tue, 18 Aug 2015 15:04:00 -0000 Message-ID: Subject: Where does C standard mention alignment requirements as written in gcc manual? From: john smith To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00077.txt.bz2 In gcc manual it says: "Note that the alignment of any given struct or union type is required by the ISO C standard to be at least a perfect multiple of the lowest common multiple of the alignments of all of the members of the struct or union in question." Where exactly is this requirement mentioned in C standard? I was looking for it in both C99 and C11 drafts and couldn't find it. --