From: khc@pm.waw.pl (Krzysztof Halasa)
To: linux-arm-kernel@lists.infradead.org
Subject: FYI ARM GCC 4.6.x miscompiles the kernel
Date: Sun, 14 Aug 2011 01:10:21 +0200 [thread overview]
Message-ID: <m3y5ywx602.fsf@intrepid.localdomain> (raw)
Current gcc-4.6.x SVN, ARMEB EABI.
unsigned var[2];
void test(int arg)
{
unsigned v = *(volatile unsigned *)(&var[arg]);
*(volatile unsigned *)(&var[arg]) = v;
}
Disassembly of section .text:
00000000 <test>:
0: e12fff1e bx lr
--
Krzysztof Halasa
next reply other threads:[~2011-08-13 23:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-13 23:10 Krzysztof Halasa [this message]
2011-08-14 1:27 ` FYI ARM GCC 4.6.x miscompiles the kernel Marek Vasut
2011-08-14 16:05 ` FYI " Krzysztof Halasa
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=m3y5ywx602.fsf@intrepid.localdomain \
--to=khc@pm.waw.pl \
--cc=linux-arm-kernel@lists.infradead.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