diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-06-10 10:33:30 +0200 |
---|---|---|
committer | Christopher Li <sparse@chrisli.org> | 2010-06-17 17:21:10 -0700 |
commit | 7ccc8abebad14639c22549cf55193e50b728802f (patch) | |
tree | 943721a43840fdc71f50b351f9bb3f00a0bcc6ca /parse.h | |
parent | Adding asm goto label test case (diff) | |
download | sparse-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |