diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2024-09-02 09:56:56 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2024-09-02 09:56:56 +0100 |
commit | a4b6c6ab0ba04a4fa409608a860067770317d0de (patch) | |
tree | c6f25f389d77fd8921de21f4a9a1fc4997cd00f9 /gcc/cp/parser.cc | |
parent | 5cbfb3a799bcded1a06897400a09f0efadc1f9e8 (diff) | |
download | gcc-a4b6c6ab0ba04a4fa409608a860067770317d0de.zip gcc-a4b6c6ab0ba04a4fa409608a860067770317d0de.tar.gz gcc-a4b6c6ab0ba04a4fa409608a860067770317d0de.tar.bz2 |
Rename ASM_INPUT_P to ASM_BASIC_P
ASM_INPUT_P is so named because it causes the eventual rtl insn
pattern to be a top-level ASM_INPUT rather than an ASM_OPERANDS.
However, this name has caused confusion, partly due to earlier
documentation. The name also sounds related to ASM_INPUTS but
is for a different piece of state.
This patch renames it to ASM_BASIC_P, with the inverse meaning
an extended asm. ("Basic asm" is the term used in extend.texi.)
gcc/
* doc/generic.texi (ASM_BASIC_P): Document.
* tree.h (ASM_INPUT_P): Rename to...
(ASM_BASIC_P): ...this.
(ASM_VOLATILE_P, ASM_INLINE_P): Reindent.
* gimplify.cc (gimplify_asm_expr): Update after above renaming.
* tree-core.h (tree_base): Likewise.
gcc/c/
* c-typeck.cc (build_asm_expr): Rename ASM_INPUT_P to ASM_BASIC_P.
gcc/cp/
* pt.cc (tsubst_stmt): Rename ASM_INPUT_P to ASM_BASIC_P.
* parser.cc (cp_parser_asm_definition): Likewise.
gcc/d/
* toir.cc (IRVisitor): Rename ASM_INPUT_P to ASM_BASIC_P.
gcc/jit/
* jit-playback.cc (playback::block::add_extended_asm): Rename
ASM_INPUT_P to ASM_BASIC_P.
gcc/m2/
* gm2-gcc/m2block.cc (flush_pending_note): Rename ASM_INPUT_P
to ASM_BASIC_P.
* gm2-gcc/m2statement.cc (m2statement_BuildAsm): Likewise.
Diffstat (limited to 'gcc/cp/parser.cc')
-rw-r--r-- | gcc/cp/parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc index 632d3dc..edfa5a4 100644 --- a/gcc/cp/parser.cc +++ b/gcc/cp/parser.cc @@ -23143,7 +23143,7 @@ cp_parser_asm_definition (cp_parser* parser) if (TREE_CODE (temp) == CLEANUP_POINT_EXPR) temp = TREE_OPERAND (temp, 0); - ASM_INPUT_P (temp) = 1; + ASM_BASIC_P (temp) = 1; } } else |