This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/39590] inline asm %z on amd64 says "ll" instead of "q"
- From: "felix-gcc at fefe dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2009 19:54:52 -0000
- Subject: [Bug inline-asm/39590] inline asm %z on amd64 says "ll" instead of "q"
- References: <bug-39590-3511@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from felix-gcc at fefe dot de 2009-03-30 19:54 -------
Uh, I did. Use the macro like this:
int foo=2;
atomic_add(foo,3);
then try size_t as type of foo and compile on x86_64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39590