From: marek.vasut@gmail.com (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: FYI ARM GCC 4.6.x miscompiles the kernel
Date: Sun, 14 Aug 2011 03:27:05 +0200 [thread overview]
Message-ID: <201108140327.06726.marek.vasut@gmail.com> (raw)
In-Reply-To: <m3y5ywx602.fsf@intrepid.localdomain>
On Sunday, August 14, 2011 01:10:21 AM Krzysztof Halasa wrote:
> Current gcc-4.6.x SVN, ARMEB EABI.
Shouldn't this go to GCC ML too ?
Cheers
>
> 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
next prev parent reply other threads:[~2011-08-14 1:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-13 23:10 FYI ARM GCC 4.6.x miscompiles the kernel Krzysztof Halasa
2011-08-14 1:27 ` Marek Vasut [this message]
2011-08-14 16:05 ` FYI " Krzysztof Halasa
2011-08-14 16:05 ` 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=201108140327.06726.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--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 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.