aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-06-10 10:33:30 +0200
committerChristopher Li <sparse@chrisli.org>2010-06-17 17:21:10 -0700
commit7ccc8abebad14639c22549cf55193e50b728802f (patch)
tree943721a43840fdc71f50b351f9bb3f00a0bcc6ca /parse.h
parentAdding asm goto label test case (diff)
downloadsparse-7ccc8abebad14639c22549cf55193e50b728802f.tar.gz
sparse-7ccc8abebad14639c22549cf55193e50b728802f.tar.bz2
sparse-7ccc8abebad14639c22549cf55193e50b728802f.zip
parser: add support for asm goto
As of gcc 4.5, asm goto("jmp %l[label]" : OUT : IN : CLOB : LABELS) is supported. Add this support to the parser so that it won't choke on the newest Linux kernel when compiling with gcc 4.5. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index 02b8585..6b21e23 100644
--- a/parse.h
+++ b/parse.h
@@ -106,6 +106,7 @@ struct statement {
struct expression_list *asm_outputs;
struct expression_list *asm_inputs;
struct expression_list *asm_clobbers;
+ struct symbol_list *asm_labels;
};
struct /* range */ {
struct expression *range_expression;