From 43910a13a2801088837d3c9f045650c78f0aeed6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Jun 2015 15:08:23 +0300 Subject: Update tests results. --- test/test1-01.txt | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++---- test/test1-02.txt | 36 ++++++++++++++++++++++++++++++++++ test/test1-03.txt | 4 ++-- test/test1-04.txt | 4 ---- 4 files changed, 92 insertions(+), 10 deletions(-) (limited to 'test') diff --git a/test/test1-01.txt b/test/test1-01.txt index 262fdf5..81f2e4f 100644 --- a/test/test1-01.txt +++ b/test/test1-01.txt @@ -72,13 +72,38 @@ function_decl func3 test1.c 7:6 expr_stmt - operand convert_expr - expresssion modify_expr - operand - Unsupported node type: indirect_ref - operand - operand + indirect_ref - operand + - isUsed: 1 + parm_decl ptr test1.c 7:17 - operand + pointer_type - decl type + integer_type - nested type + - precisionBits: 32 + - signed + type_decl int 0:0 - type name + - isAutogenerated: 1 + integer_cst 32 - type size + integer_cst -2147483648 - min value + integer_cst 2147483647 - max value + integer_cst 64 - parm size integer_cst 10 - operand cleanup_point_expr - statement expr_stmt - operand convert_expr - expresssion modify_expr - operand - Unsupported node type: indirect_ref - operand - operand + indirect_ref - operand + - isUsed: 1 + parm_decl ptr2 test1.c 7:28 - operand + pointer_type - decl type + integer_type - nested type + - precisionBits: 8 + - isChar: 1 + - signed + type_decl char 0:0 - type name + - isAutogenerated: 1 + integer_cst 8 - type size + integer_cst -128 - min value + integer_cst 127 - max value + integer_cst 64 - parm size integer_cst 20 - operand while_stmt - statement integer_cst 1 - condition @@ -296,13 +321,38 @@ function_decl main test1.c 14:5 expr_stmt - operand convert_expr - expresssion modify_expr - operand - Unsupported node type: indirect_ref - operand - operand + indirect_ref - operand + - isUsed: 1 + parm_decl ptr test1.c 7:17 - operand + pointer_type - decl type + integer_type - nested type + - precisionBits: 32 + - signed + type_decl int 0:0 - type name + - isAutogenerated: 1 + integer_cst 32 - type size + integer_cst -2147483648 - min value + integer_cst 2147483647 - max value + integer_cst 64 - parm size integer_cst 10 - operand cleanup_point_expr - statement expr_stmt - operand convert_expr - expresssion modify_expr - operand - Unsupported node type: indirect_ref - operand - operand + indirect_ref - operand + - isUsed: 1 + parm_decl ptr2 test1.c 7:28 - operand + pointer_type - decl type + integer_type - nested type + - precisionBits: 8 + - isChar: 1 + - signed + type_decl char 0:0 - type name + - isAutogenerated: 1 + integer_cst 8 - type size + integer_cst -128 - min value + integer_cst 127 - max value + integer_cst 64 - parm size integer_cst 20 - operand statement_list - statement Unsupported node type: loop_expr - statement - statement diff --git a/test/test1-02.txt b/test/test1-02.txt index fe9c49d..1ea7056 100644 --- a/test/test1-02.txt +++ b/test/test1-02.txt @@ -51,11 +51,29 @@ 3 expr_stmt 4 convert_expr 5 modify_expr +6 indirect_ref +7 parm_decl test1.c +8 pointer_type +9 integer_type +10 type_decl +10 integer_cst +10 integer_cst +10 integer_cst +8 integer_cst 6 integer_cst 2 cleanup_point_expr 3 expr_stmt 4 convert_expr 5 modify_expr +6 indirect_ref +7 parm_decl test1.c +8 pointer_type +9 integer_type +10 type_decl +10 integer_cst +10 integer_cst +10 integer_cst +8 integer_cst 6 integer_cst 2 while_stmt 3 integer_cst @@ -209,11 +227,29 @@ 11 expr_stmt 12 convert_expr 13 modify_expr +14 indirect_ref +15 parm_decl test1.c +16 pointer_type +17 integer_type +18 type_decl +18 integer_cst +18 integer_cst +18 integer_cst +16 integer_cst 14 integer_cst 10 cleanup_point_expr 11 expr_stmt 12 convert_expr 13 modify_expr +14 indirect_ref +15 parm_decl test1.c +16 pointer_type +17 integer_type +18 type_decl +18 integer_cst +18 integer_cst +18 integer_cst +16 integer_cst 14 integer_cst 10 statement_list 7 integer_cst diff --git a/test/test1-03.txt b/test/test1-03.txt index a21173a..82fbe74 100644 --- a/test/test1-03.txt +++ b/test/test1-03.txt @@ -1,6 +1,6 @@ -Allocations before cleanup: 62 +Allocations before cleanup: 80 Allocations after cleanup: 0 -Allocations before cleanup: 200 +Allocations before cleanup: 218 Allocations after cleanup: 0 Allocations before cleanup: 92 Allocations after cleanup: 0 diff --git a/test/test1-04.txt b/test/test1-04.txt index d99ad3a..1888f85 100644 --- a/test/test1-04.txt +++ b/test/test1-04.txt @@ -1,6 +1,2 @@ -Unsupported node type: indirect_ref -Unsupported node type: indirect_ref -Unsupported node type: indirect_ref -Unsupported node type: indirect_ref Unsupported node type: loop_expr Unsupported node type: cond_expr -- cgit v1.2.3-70-g09d2