This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13413] need "o" inline asm constraint
- 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: 19 Dec 2003 07:36:30 -0000
- Subject: [Bug target/13413] need "o" inline asm constraint
- References: <20031216171349.13413.melkov@comptek.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-19 07:36 -------
So this is what you want:
int f(int *i){int t; asm("a %1":"=r"(t):"o"(*i)); return t;}
0(%eax) and not (%eax) which it currently is now, right?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-12-19 07:36:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13413