aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi.in
diff options
context:
space:
mode:
authorMaxim Kuznetsov <maks.kuznetsov@gmail.com>2013-05-06 19:35:44 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2013-05-06 12:35:44 -0700
commit382522cb0336edecbfa2ee6445cd43407ebc6776 (patch)
tree91d98365dcceef73b7eaefd2d77bfc60e3759698 /gcc/doc/tm.texi.in
parentfb0d5c60f5cbc3ef3689af7ecac566526e31ea14 (diff)
downloadgcc-382522cb0336edecbfa2ee6445cd43407ebc6776.zip
gcc-382522cb0336edecbfa2ee6445cd43407ebc6776.tar.gz
gcc-382522cb0336edecbfa2ee6445cd43407ebc6776.tar.bz2
Support {, } and | in assembly output
gcc/ 2013-05-06 Maxim Kuznetsov <maks.kuznetsov@gmail.com> * final.c (do_assembler_dialects): Don't handle curly braces and vertical bar escaped by % as dialect delimiters. (output_asm_insn): Print curly braces and vertical bar if escaped by % and ASSEMBLER_DIALECT defined. * doc/tm.texi.in (ASSEMBLER_DIALECT): Document new standard escapes. * doc/tm.texi: Regenerated. gcc/testsuite/ 2013-05-06 Maxim Kuznetsov <maks.kuznetsov@gmail.com> * gcc.target/i386/asm-dialect-2.c: New testcase. From-SVN: r198641
Diffstat (limited to 'gcc/doc/tm.texi.in')
-rw-r--r--gcc/doc/tm.texi.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index a418733..611d681 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -8602,7 +8602,9 @@ first argument of @code{asm_fprintf}. This construct outputs
@code{ASSEMBLER_DIALECT} is zero, one, two, etc. Any special characters
within these strings retain their usual meaning. If there are fewer
alternatives within the braces than the value of
-@code{ASSEMBLER_DIALECT}, the construct outputs nothing.
+@code{ASSEMBLER_DIALECT}, the construct outputs nothing. If it's needed
+to print curly braces or @samp{|} character in assembler output directly,
+@samp{%@{}, @samp{%@}} and @samp{%|} can be used.
If you do not define this macro, the characters @samp{@{}, @samp{|} and
@samp{@}} do not have any special meaning when used in templates or