aboutsummaryrefslogtreecommitdiff
path: root/gcc/extend.texi
diff options
context:
space:
mode:
authorGeoff Berry <geoffb@bops.com>2000-05-05 16:26:12 +0000
committerJeff Law <law@gcc.gnu.org>2000-05-05 10:26:12 -0600
commiteda3fbbe7ac4a70dc5ec0bcde632dd584881804d (patch)
tree5fe80c58dd5bab8c2cfb9dee1394c6051d85bbfa /gcc/extend.texi
parent4edee0e6a1ac25b68b76b458e597cd044cc3933a (diff)
downloadgcc-eda3fbbe7ac4a70dc5ec0bcde632dd584881804d.zip
gcc-eda3fbbe7ac4a70dc5ec0bcde632dd584881804d.tar.gz
gcc-eda3fbbe7ac4a70dc5ec0bcde632dd584881804d.tar.bz2
extend.texi (Extended Asm): Document inability to give asm statements access to condition codes.
* extend.texi (Extended Asm): Document inability to give asm statements access to condition codes. From-SVN: r33709
Diffstat (limited to 'gcc/extend.texi')
-rw-r--r--gcc/extend.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/extend.texi b/gcc/extend.texi
index c3e2648..65b0ec9 100644
--- a/gcc/extend.texi
+++ b/gcc/extend.texi
@@ -2678,6 +2678,10 @@ instructions would alter the condition code before there was time to
test it. This problem doesn't arise for ordinary ``test'' and
``compare'' instructions because they don't have any output operands.
+For reasons similar to those described above, it is not possible to give
+an assembler instruction access to the condition code left by previous
+instructions.
+
If you are writing a header file that should be includable in ANSI C
programs, write @code{__asm__} instead of @code{asm}. @xref{Alternate
Keywords}.