From: Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
To: gcc@gcc.gnu.org
Subject: Re: PR 17949 (unaligned memory accesses due to ivopts) question
Date: Sun, 17 Oct 2004 01:43:00 -0000 [thread overview]
Message-ID: <20041016205352.GA23678@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <20041016203741.GA22759@nevyn.them.org>
Hello,
> Well, a.f ought to be a pointer to unaligned integer. Don't you get
> some kind of warning for this?
no. There is -Wcast-align (disabled by default), but it does not
trigger in this case. -Wpacked (also disabled by default) announces
that "packed attribute causes inefficient alignment for 'i'"
(but does not mention f; umm...). And that's it, these are all warnings
that are triggered by STRICT_ALIGNMENT.
Zdenek
prev parent reply other threads:[~2004-10-16 20:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-16 21:29 Zdenek Dvorak
2004-10-17 1:30 ` Daniel Jacobowitz
2004-10-17 1:43 ` Zdenek Dvorak [this message]
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=20041016205352.GA23678@atrey.karlin.mff.cuni.cz \
--to=rakdver@atrey.karlin.mff.cuni.cz \
--cc=gcc@gcc.gnu.org \
/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).