diff options
Diffstat (limited to 'test/test16-03.txt')
-rw-r--r-- | test/test16-03.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/test16-03.txt b/test/test16-03.txt index a5741b7..96a1456 100644 --- a/test/test16-03.txt +++ b/test/test16-03.txt @@ -96,10 +96,10 @@ integer_cst 200: ptr2, return_expr : ptr2, modify_expr : ptr1, ptr2, test16.c: In function 'func2': -test16.c:26:15: warning: Using parameter 'ptr1' without checking for null pointer +test16.c:26:15: warning: Using variable 'ptr1' without checking for null pointer ptr1->val = 300; ^ -test16.c:26:15: warning: Using field 'ptr1' without checking for null pointer +test16.c:26:15: warning: Using variable 'ptr1' without checking for null pointer component_ref : ptr1, ptr2, indirect_ref : ptr1, ptr2, parm_decl ptr1: ptr1, ptr2, @@ -131,7 +131,7 @@ integer_cst 64: ptr1, ptr2, integer_cst 0: ptr1, ptr2, eq_expr : ptr1, ptr2, test16.c: In function 'func3': -test16.c:31:27: warning: Using field 'ptr1' without checking for null pointer +test16.c:31:27: warning: Using variable 'ptr1' without checking for null pointer if (ptr1 || ptr1->val == 100) ^ integer_cst 100: ptr1, ptr2, @@ -152,10 +152,10 @@ integer_cst 2147483647: ptr1, ptr2, integer_cst 100: ptr1, ptr2, return_expr : ptr1, ptr2, modify_expr : ptr1, ptr2, -test16.c:36:15: warning: Using parameter 'ptr1' without checking for null pointer +test16.c:36:15: warning: Using variable 'ptr1' without checking for null pointer ptr1->val = 200; ^ -test16.c:36:15: warning: Using field 'ptr1' without checking for null pointer +test16.c:36:15: warning: Using variable 'ptr1' without checking for null pointer component_ref : ptr1, ptr2, indirect_ref : ptr1, ptr2, parm_decl ptr1: ptr1, ptr2, @@ -187,7 +187,7 @@ integer_cst 64: ptr1, ptr2, integer_cst 0: ptr1, ptr2, eq_expr : ptr1, ptr2, test16.c: In function 'func4': -test16.c:41:28: warning: Using field 'ptr1' without checking for null pointer +test16.c:41:28: warning: Using variable 'ptr1' without checking for null pointer if (!ptr1 && ptr1->val == 100) ^ integer_cst 100: ptr1, ptr2, @@ -208,10 +208,10 @@ integer_cst 2147483647: ptr1, ptr2, integer_cst 100: ptr1, ptr2, return_expr : ptr1, ptr2, modify_expr : ptr1, ptr2, -test16.c:46:15: warning: Using parameter 'ptr1' without checking for null pointer +test16.c:46:15: warning: Using variable 'ptr1' without checking for null pointer ptr1->val = 200; ^ -test16.c:46:15: warning: Using field 'ptr1' without checking for null pointer +test16.c:46:15: warning: Using variable 'ptr1' without checking for null pointer component_ref : ptr1, ptr2, indirect_ref : ptr1, ptr2, parm_decl ptr1: ptr1, ptr2, @@ -379,10 +379,10 @@ integer_cst 200: ptr1, return_expr : ptr1, ptr2, modify_expr : ptr1, ptr2, test16.c: In function 'func6': -test16.c:67:15: warning: Using parameter 'ptr1' without checking for null pointer +test16.c:67:15: warning: Using variable 'ptr1' without checking for null pointer ptr1->val = 300; ^ -test16.c:67:15: warning: Using field 'ptr1' without checking for null pointer +test16.c:67:15: warning: Using variable 'ptr1' without checking for null pointer component_ref : ptr1, ptr2, indirect_ref : ptr1, ptr2, parm_decl ptr1: ptr1, ptr2, @@ -399,10 +399,10 @@ integer_cst -2147483648: ptr1, ptr2, integer_cst 2147483647: ptr1, ptr2, integer_cst 300: ptr1, ptr2, modify_expr : ptr1, ptr2, -test16.c:68:15: warning: Using parameter 'ptr2' without checking for null pointer +test16.c:68:15: warning: Using variable 'ptr2' without checking for null pointer ptr2->val = 400; ^ -test16.c:68:15: warning: Using field 'ptr2' without checking for null pointer +test16.c:68:15: warning: Using variable 'ptr2' without checking for null pointer component_ref : ptr1, ptr2, indirect_ref : ptr1, ptr2, parm_decl ptr2: ptr1, ptr2, |