summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-08 02:20:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-08 02:20:39 +0300
commitc04ef896d1407fd8362647f6dfe9fcfc71e1b8de (patch)
tree9c52a8dfec9c710adf9c188c5686322073356f98 /test
parent83a3de1307434f27ba5c524f498576a1cc23523d (diff)
downloadparanucker-c04ef896d1407fd8362647f6dfe9fcfc71e1b8de.tar.gz
paranucker-c04ef896d1407fd8362647f6dfe9fcfc71e1b8de.tar.bz2
paranucker-c04ef896d1407fd8362647f6dfe9fcfc71e1b8de.tar.xz
paranucker-c04ef896d1407fd8362647f6dfe9fcfc71e1b8de.zip
Update tests result.
Diffstat (limited to 'test')
-rw-r--r--test/test1-01.txt94
-rw-r--r--test/test1-02.txt59
-rw-r--r--test/test1-03.txt6
-rw-r--r--test/test1-04.txt7
4 files changed, 153 insertions, 13 deletions
diff --git a/test/test1-01.txt b/test/test1-01.txt
index 68a2402..2b48806 100644
--- a/test/test1-01.txt
+++ b/test/test1-01.txt
@@ -71,11 +71,15 @@ function_decl func3 test1.c 7:6
cleanup_point_expr - statement
expr_stmt - operand
convert_expr - expresssion
- Unsupported node type: modify_expr - operand - expresssion
+ modify_expr - operand
+ Unsupported node type: indirect_ref - operand - operand
+ integer_cst 10 - operand
cleanup_point_expr - statement
expr_stmt - operand
convert_expr - expresssion
- Unsupported node type: modify_expr - operand - expresssion
+ modify_expr - operand
+ Unsupported node type: indirect_ref - operand - operand
+ integer_cst 20 - operand
while_stmt - statement
integer_cst 1 - condition
statement_list - body
@@ -264,11 +268,69 @@ function_decl fun test1.c 21:6
cleanup_point_expr - then
expr_stmt - operand
convert_expr - expresssion
- Unsupported node type: modify_expr - operand - expresssion
+ modify_expr - operand
+ - isUsed: 1
+ parm_decl a test1.c 21:14 - operand
+ integer_type - decl type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 32 - parm size
+ mult_expr - operand
+ plus_expr - operand
+ - isUsed: 1
+ parm_decl a test1.c 21:14 - operand
+ integer_type - decl type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 32 - parm size
+ - isUsed: 1
+ parm_decl b test1.c 21:22 - operand
+ integer_type - decl type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 32 - parm size
+ var_decl c test1.c 3:5 - operand
+ - isUsed: 1
+ integer_cst 32 - decl size
+ integer_type - var type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
cleanup_point_expr - else
expr_stmt - operand
convert_expr - expresssion
- Unsupported node type: modify_expr - operand - expresssion
+ modify_expr - operand
+ - isUsed: 1
+ parm_decl b test1.c 21:22 - operand
+ integer_type - decl type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 32 - parm size
+ integer_cst 1 - operand
function_decl fun1 test1.c 29:5
- isPublic: 1
function_type - function type
@@ -381,7 +443,29 @@ function_decl fun1 test1.c 29:5
cleanup_point_expr - statement
expr_stmt - operand
convert_expr - expresssion
- Unsupported node type: modify_expr - operand - expresssion
+ modify_expr - operand
+ var_decl c test1.c 3:5 - operand
+ - isUsed: 1
+ integer_cst 32 - decl size
+ integer_type - var type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ var_decl b test1.c 31:14 - operand
+ - isUsed: 1
+ integer_cst 32 - decl size
+ integer_type - var type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
cleanup_point_expr - statement
expr_stmt - operand
Unsupported node type: call_expr - expresssion - operand
diff --git a/test/test1-02.txt b/test/test1-02.txt
index 404bdee..c42ea6f 100644
--- a/test/test1-02.txt
+++ b/test/test1-02.txt
@@ -50,9 +50,13 @@
2 cleanup_point_expr
3 expr_stmt
4 convert_expr
+5 modify_expr
+6 integer_cst
2 cleanup_point_expr
3 expr_stmt
4 convert_expr
+5 modify_expr
+6 integer_cst
2 while_stmt
3 integer_cst
3 statement_list
@@ -179,9 +183,49 @@
2 cleanup_point_expr
3 expr_stmt
4 convert_expr
+5 modify_expr
+6 parm_decl test1.c
+7 integer_type
+8 type_decl <built-in>
+8 integer_cst
+8 integer_cst
+8 integer_cst
+7 integer_cst
+6 mult_expr
+7 plus_expr
+8 parm_decl test1.c
+9 integer_type
+10 type_decl <built-in>
+10 integer_cst
+10 integer_cst
+10 integer_cst
+9 integer_cst
+8 parm_decl test1.c
+9 integer_type
+10 type_decl <built-in>
+10 integer_cst
+10 integer_cst
+10 integer_cst
+9 integer_cst
+7 var_decl test1.c
+8 integer_cst
+8 integer_type
+9 type_decl <built-in>
+9 integer_cst
+9 integer_cst
+9 integer_cst
2 cleanup_point_expr
3 expr_stmt
4 convert_expr
+5 modify_expr
+6 parm_decl test1.c
+7 integer_type
+8 type_decl <built-in>
+8 integer_cst
+8 integer_cst
+8 integer_cst
+7 integer_cst
+6 integer_cst
0 function_decl test1.c
1 function_type
2 integer_type
@@ -261,6 +305,21 @@
3 cleanup_point_expr
4 expr_stmt
5 convert_expr
+6 modify_expr
+7 var_decl test1.c
+8 integer_cst
+8 integer_type
+9 type_decl <built-in>
+9 integer_cst
+9 integer_cst
+9 integer_cst
+7 var_decl test1.c
+8 integer_cst
+8 integer_type
+9 type_decl <built-in>
+9 integer_cst
+9 integer_cst
+9 integer_cst
3 cleanup_point_expr
4 expr_stmt
3 if_stmt
diff --git a/test/test1-03.txt b/test/test1-03.txt
index 06cf1ab..6a5dcaf 100644
--- a/test/test1-03.txt
+++ b/test/test1-03.txt
@@ -1,10 +1,10 @@
-Allocations before cleanup: 58
+Allocations before cleanup: 62
Allocations after cleanup: 0
Allocations before cleanup: 83
Allocations after cleanup: 0
-Allocations before cleanup: 43
+Allocations before cleanup: 83
Allocations after cleanup: 0
-Allocations before cleanup: 131
+Allocations before cleanup: 146
Allocations after cleanup: 0
Allocations before cleanup: 50
Allocations after cleanup: 0
diff --git a/test/test1-04.txt b/test/test1-04.txt
index 54a0c94..8e91239 100644
--- a/test/test1-04.txt
+++ b/test/test1-04.txt
@@ -1,10 +1,7 @@
-Unsupported node type: modify_expr
-Unsupported node type: modify_expr
+Unsupported node type: indirect_ref
+Unsupported node type: indirect_ref
Unsupported node type: call_expr
Unsupported node type: call_expr
Unsupported node type: eq_expr
-Unsupported node type: modify_expr
-Unsupported node type: modify_expr
-Unsupported node type: modify_expr
Unsupported node type: call_expr
Unsupported node type: eq_expr