summaryrefslogtreecommitdiff
path: root/test/test16-03.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-23 02:14:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-23 02:14:56 +0300
commitd6989382bcfae2c2d822cfc3ea7bebfeef77d5e6 (patch)
tree35d9a04babea397a87554f9ecad99eae6c6a6c3d /test/test16-03.txt
parenteff039b810786f96ed8f0bade95ff07a7c4e15dd (diff)
downloadparanucker-d6989382bcfae2c2d822cfc3ea7bebfeef77d5e6.tar.gz
paranucker-d6989382bcfae2c2d822cfc3ea7bebfeef77d5e6.tar.bz2
paranucker-d6989382bcfae2c2d822cfc3ea7bebfeef77d5e6.tar.xz
paranucker-d6989382bcfae2c2d822cfc3ea7bebfeef77d5e6.zip
Update test 26, 35, 39. Update test results.
Diffstat (limited to 'test/test16-03.txt')
-rw-r--r--test/test16-03.txt42
1 files changed, 21 insertions, 21 deletions
diff --git a/test/test16-03.txt b/test/test16-03.txt
index bacaf42..4636cd3 100644
--- a/test/test16-03.txt
+++ b/test/test16-03.txt
@@ -133,11 +133,11 @@ integer_cst 2147483647: ptr2,
integer_cst 200: ptr2,
return_expr : ptr2,
modify_expr : ptr1, ptr2,
-component_ref : ptr1, ptr2,
test16.c: In function 'func2':
-test16.c:26:9: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:26:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 300;
- ^
+ ^
+component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
pointer_type : ptr1, ptr2,
@@ -180,11 +180,11 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
eq_expr : ptr1, ptr2,
-component_ref : ptr1, ptr2,
test16.c: In function 'func3':
-test16.c:31:21: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:31:27: warning: Using field 'ptr1' without checking for null pointer
if (ptr1 || ptr1->val == 100)
- ^
+ ^
+component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
pointer_type : ptr1, ptr2,
@@ -208,10 +208,10 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 100: ptr1, ptr2,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-component_ref : ptr1, ptr2,
-test16.c:36:9: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:36:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 200;
- ^
+ ^
+component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
pointer_type : ptr1, ptr2,
@@ -254,11 +254,11 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 64: ptr1, ptr2,
integer_cst 0: ptr1, ptr2,
eq_expr : ptr1, ptr2,
-component_ref : ptr1, ptr2,
test16.c: In function 'func4':
-test16.c:41:22: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:41:28: warning: Using field 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 100)
- ^
+ ^
+component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
pointer_type : ptr1, ptr2,
@@ -282,10 +282,10 @@ integer_cst 2147483647: ptr1, ptr2,
integer_cst 100: ptr1, ptr2,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-component_ref : ptr1, ptr2,
-test16.c:46:9: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:46:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 200;
- ^
+ ^
+component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
pointer_type : ptr1, ptr2,
@@ -520,11 +520,11 @@ integer_cst 2147483647: ptr1,
integer_cst 200: ptr1,
return_expr : ptr1, ptr2,
modify_expr : ptr1, ptr2,
-component_ref : ptr1, ptr2,
test16.c: In function 'func6':
-test16.c:67:9: warning: Using parameter 'ptr1' without checking for null pointer
+test16.c:67:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 300;
- ^
+ ^
+component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr1: ptr1, ptr2,
pointer_type : ptr1, ptr2,
@@ -547,10 +547,10 @@ integer_cst -2147483648: ptr1, ptr2,
integer_cst 2147483647: ptr1, ptr2,
integer_cst 300: ptr1, ptr2,
modify_expr : ptr1, ptr2,
-component_ref : ptr1, ptr2,
-test16.c:68:9: warning: Using parameter 'ptr2' without checking for null pointer
+test16.c:68:15: warning: Using parameter 'ptr2' without checking for null pointer
ptr2->val = 400;
- ^
+ ^
+component_ref : ptr1, ptr2,
indirect_ref : ptr1, ptr2,
parm_decl ptr2: ptr1, ptr2,
pointer_type : ptr1, ptr2,