public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Jonathan Wakely <jwakely.gcc@gmail.com>
Cc: john smith <wempwer@gmail.com>, gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: are statically allocated structs always aligned to a machine word on x86/x86_64?
Date: Sun, 23 Aug 2015 11:05:00 -0000	[thread overview]
Message-ID: <20150823110539.GA16487@gate.crashing.org> (raw)
In-Reply-To: <CAH6eHdQUBc_Rh_zcTD1hKvCV=XPt9KHupGgFcT2aks-fu=BS3g@mail.gmail.com>

On Sun, Aug 23, 2015 at 12:15:56AM +0100, Jonathan Wakely wrote:
> because alignments must be a power of 2.

That is true in C++, but not true in C or even POSIX afaics?


Segher

  reply	other threads:[~2015-08-23 11:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 18:39 john smith
2015-08-21 18:49 ` Jonathan Wakely
2015-08-21 19:31   ` john smith
2015-08-22 23:16     ` Jonathan Wakely
2015-08-23 11:05       ` Segher Boessenkool [this message]
2015-08-23 13:49         ` Jonathan Wakely
2015-08-23 13:52           ` Jonathan Wakely
2015-08-23 15:19           ` Segher Boessenkool
2015-08-23 15:23             ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150823110539.GA16487@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jwakely.gcc@gmail.com \
    --cc=wempwer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).