This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2010 13:27:27 -0000
- Subject: [Bug target/43404] ARM: Internal compiler error when using '&foo' in naked function
- References: <bug-43404-18353@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rearnsha at gcc dot gnu dot org 2010-03-19 13:27 -------
I think the compiler should throw an error if there are any statements in the
naked function other than asm statements. All such asms should be treated as
volatile.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43404