This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/14451] [x86-SSE] Segmentation fault when writing memory using UNALIGNED instruction
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Mar 2004 03:54:22 -0000
- Subject: [Bug inline-asm/14451] [x86-SSE] Segmentation fault when writing memory using UNALIGNED instruction
- References: <20040305185857.14451.frag_dz8@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-06 03:54 -------
"=a" (buffer) means that the buffer will be set and not you are doing to store into the memory.
after replace the inline-asm to:
__asm__("MOVUPS %%xmm0, %0\n" :
"=m" (buffer) : : "xmm0");
Then I get a seg fault after the printing to "NO" so this is a dup of bug 10395
*** This bug has been marked as a duplicate of 10395 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14451