summaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-02 08:35:51 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-02 08:35:51 +0000
commita8fb934809eee4113f6ec425430387873c2cc30c (patch)
tree1362491ee061f59949150f7ad16a80817b707580 /gcc/output.h
parentf854059ad76d023dee3f8be9c3eb8843623b8c19 (diff)
downloadgcc-a8fb934809eee4113f6ec425430387873c2cc30c.tar.gz
PR opt/190
* final.c (this_is_asm_operands): Export. * output.h (this_is_asm_operands): Declare. * config/i386/i386.c (print_operand): Error odd asm operands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51741 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 9c7adaff98c..3f8872a1c3b 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -465,6 +465,11 @@ extern struct rtx_def *current_insn_predicate;
/* Last insn processed by final_scan_insn. */
extern struct rtx_def *current_output_insn;
+/* Nonzero while outputting an `asm' with operands.
+ This means that inconsistencies are the user's fault, so don't abort.
+ The precise value is the insn being output, to pass to error_for_asm. */
+extern rtx this_is_asm_operands;
+
/* Decide whether DECL needs to be in a writable section. RELOC is the same
as for SELECT_SECTION. */