This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/49191] gcc.dg/memcpy-3.c FAILs on SPARC


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]