public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikpe at it dot uu dot se" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/37954] odd sized packed structures passed by value, under ARM, cause lockup of application Date: Wed, 21 Oct 2009 12:20:00 -0000 [thread overview] Message-ID: <20091021121952.14986.qmail@sourceware.org> (raw) In-Reply-To: <bug-37954-16876@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from mikpe at it dot uu dot se 2009-10-21 12:19 ------- I can reproduce the misalignment exceptions on armv5tel-linux-gnueabi with gcc-4.3.4 at -O0 but not with gcc-4.4.2. The loop in main() which iterates over the packed array creates a misaligned pointer from which it performs word-sized loads, which causes misalignment exceptions. gcc-4.4.2 generates very different code which doesn't make assumptions about alignment. -- mikpe at it dot uu dot se changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu dot se http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37954
next prev parent reply other threads:[~2009-10-21 12:20 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-29 19:43 [Bug c/37954] New: odd sized packed structures, " damon dot michaels at navico dot com 2008-10-29 19:44 ` [Bug c/37954] " pinskia at gcc dot gnu dot org 2008-10-29 19:49 ` damon dot michaels at navico dot com 2008-10-29 19:52 ` damon dot michaels at navico dot com 2008-10-29 19:53 ` damon dot michaels at navico dot com 2008-10-29 19:53 ` damon dot michaels at navico dot com 2009-10-21 9:36 ` [Bug target/37954] odd sized packed structures passed by value, " maurice35 dot david at laposte dot net 2009-10-21 9:37 ` maurice35 dot david at laposte dot net 2009-10-21 12:20 ` mikpe at it dot uu dot se [this message] 2009-10-21 14:47 ` maurice35 dot david at laposte dot net 2009-10-21 19:47 ` mikpe at it dot uu dot se 2009-10-22 17:55 ` mikpe at it dot uu dot se 2009-10-23 0:29 ` mikpe at it dot uu dot se 2009-10-23 12:49 ` mikpe at it dot uu dot se 2010-09-01 12:41 ` [Bug target/37954] [4.3 only] " ramana at gcc dot gnu dot org [not found] <bug-37954-4@http.gcc.gnu.org/bugzilla/> 2011-04-28 16:25 ` [Bug target/37954] " rguenth at gcc dot gnu.org 2015-03-12 11:29 ` ramana at gcc dot gnu.org 2015-04-30 11:15 ` amodra at gmail dot com
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=20091021121952.14986.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).