This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/63359] aarch64: 32bit registers in inline asm
- From: "james.molloy at arm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 24 Sep 2014 15:03:55 +0000
- Subject: [Bug target/63359] aarch64: 32bit registers in inline asm
- Auto-submitted: auto-generated
- References: <bug-63359-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63359
--- Comment #6 from James Molloy <james.molloy at arm dot com> ---
Good example, although I might argue slightly pathological.
So in this case currently, GCC doesn't even implicitly promote the argument,
just uses it as-is. It seems a very dangerous behaviour to have as default.
Could there not be a more sensible default and an explicit constraint modifier
to allow this instead?