This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/22045] can't find a register in class 'GENERAL_REGS'
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2005 17:44:47 -0000
- Subject: [Bug inline-asm/22045] can't find a register in class 'GENERAL_REGS'
- References: <20050613133124.22045.macro@linux-mips.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at gcc dot gnu dot org 2005-08-09 17:44 -------
Yes, the funny cast is *intended* to alias all memory, and thus force anything
that might potentially alias the string to be written back. We don't have the
ability to conclude that __d3 won't be affected.
As for <bits/string.h>, the version in current glibc seems to be very different
and should not exhibit the problem shown here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22045