This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/37758] Assembler failure: Error: syntax error; found `,' but expected `('
- 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 Oct 2008 23:12:58 -0000
- Subject: [Bug inline-asm/37758] Assembler failure: Error: syntax error; found `,' but expected `('
- References: <bug-37758-16155@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-10-06 23:12 -------
You either need to require [reg+offset] or use stw%U0%X0 for the "m"
constraint.
Likewise for lwz.
The other question is why are you using inline-asm in the first place for the
load/stores.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.3.0 4.3.1 4.3.2 |
Known to work|4.1.1 4.1.2 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37758