This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
PATCH: Re: optimization/6162: gcc 3.0.4: certain i386 asm reloaderice
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 31 Oct 2002 05:16:02 -0000
- Subject: PATCH: Re: optimization/6162: gcc 3.0.4: certain i386 asm reloaderice
- Reply-to: Nathanael Nerode <neroden at twcny dot rr dot com>
The following reply was made to PR optimization/6162; it has been noted by GNATS.
From: Nathanael Nerode <neroden@twcny.rr.com>
To: user42@zip.com.au, gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: PATCH: Re: optimization/6162: gcc 3.0.4: certain i386 asm reloader
ice
Date: Thu, 31 Oct 2002 00:14:20 -0500
Here's a documentation fix. I suspect this is enough to allow the PR to
be closed, given that
* this asm syntax is a gcc extension, I believe, and as such we
can specify it to behave however we like.
* the behavior isn't going to change any time in the near future.
* in general the problem can be worked around if people are aware of it.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6162
PR optimization/6162
* md.texi: Document restriction on commutative operand
specification.
Index: md.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/md.texi,v
retrieving revision 1.51
diff -u -r1.51 md.texi
--- md.texi 15 Sep 2002 22:48:05 -0000 1.51
+++ md.texi 31 Oct 2002 05:09:57 -0000
@@ -1256,6 +1256,8 @@
@dots{})
@end smallexample
@end ifset
+GCC can only handle one commutative pair in an asm; if you use more,
+the compiler may fail.
@cindex @samp{#} in constraint
@item #