From: Randolph Chung <randolph@tausq.org>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] spinlock align code triggering bug in gcc?
Date: Sun, 28 Mar 2004 15:36:37 -0800 [thread overview]
Message-ID: <20040328233637.GM750@tausq.org> (raw)
In-Reply-To: <200403282251.i2SMp7OD010307@hiauly1.hia.nrc.ca>
> I think this is a coding problem.
that's what i thought too initially, but there are no special things
in the structure that makes it unaligned. pls take a look at the test
program i attached... the structure only has a spinlock, an int and a
pointer. where the heck does it get 183 from (or 23 in the test
program)? :) i'm guessing it inlined the __ldcw_align() and did some
constant folding to do the alignment and then the offset becomes wrong?
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
next prev parent reply other threads:[~2004-03-28 22:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-28 20:32 [parisc-linux] spinlock align code triggering bug in gcc? Randolph Chung
2004-03-28 21:54 ` Thibaut VARENE
2004-03-28 22:48 ` John David Anglin
2004-03-28 22:51 ` John David Anglin
2004-03-28 23:36 ` Randolph Chung [this message]
2004-03-28 23:51 ` John David Anglin
2004-03-28 23:32 ` Randolph Chung
2004-03-28 23:00 ` John David Anglin
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=20040328233637.GM750@tausq.org \
--to=randolph@tausq.org \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=parisc-linux@lists.parisc-linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.