middle-end/5345: ICE when using the "+m" constraint with built-in assembly

Craig Rodrigues rodrigc@mediaone.net
Mon Jan 14 06:15:00 GMT 2002


On Mon, Jan 14, 2002 at 12:31:36PM +0300, Andrew Zabolotny wrote:
> On 12 Jan 2002 19:16:26 -0000, rodrigc@gcc.gnu.org wrote:
> >       clobber
> >    gcc-ice.cpp:44: confused by earlier errors, bailing out
> Hmm... it looks like the problem has been at least partially fixed. Can you 
> please try to remove the "st" constraint, e.g. the last three lines of the asm 
> directive will look like this:
> 
> 		"fmulp	%%st(1)\n"		// a
> 	: "=&t" (ret), "+m" (x) : "m" (0.5F), "m" (1.5F)
> 	: "eax", "st(1)", "st(2)", "st(3)", "st(4)", "st(5)", "st(6)", "st(7)"
>   );

Changing the line as you mentioned works with
gcc 3.0.3 and gcc 3.1.


> Is it reasonable for me to rise this question on gcc mailing list? Where else I 
> can get an expert advice on built-in gcc assembly?

Sure, you can ask on the gcc mailing list.
The other mailing list which would be good
would be the binutils mailing list:
http://sources.redhat.com/binutils/



More information about the Gcc-bugs mailing list