This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49191] gcc.dg/memcpy-3.c FAILs on SPARC
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 8 Jun 2011 17:52:36 +0000
- Subject: [Bug middle-end/49191] gcc.dg/memcpy-3.c FAILs on SPARC
- Auto-submitted: auto-generated
- References: <bug-49191-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49191
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-08 17:47:32 UTC ---
Perhaps something like:
union { int i; char c[8]; } u;
int
main ()
{
int *p;
asm volatile ("" : "=r" (p) : "0" (&u.c[1]));
*p++;
return 0;
}
compile+run and check for zero exit code? Perhaps __ia64__ should be
explicitly listed as strict alignment in addition to that, because I believe it
will
succeed there, just with annoying messages in dmesg.