diff options
author | Maxim Kuznetsov <maks.kuznetsov@gmail.com> | 2013-05-06 19:35:44 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2013-05-06 12:35:44 -0700 |
commit | 382522cb0336edecbfa2ee6445cd43407ebc6776 (patch) | |
tree | 91d98365dcceef73b7eaefd2d77bfc60e3759698 /gcc/doc/tm.texi | |
parent | fb0d5c60f5cbc3ef3689af7ecac566526e31ea14 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/doc/tm.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index ec7ef75..2482eb4 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -8729,7 +8729,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 |