diff options
-rw-r--r-- | test/test4-01.txt | 95 | ||||
-rw-r--r-- | test/test4-02.txt | 1 | ||||
-rw-r--r-- | test/test4.c | 5 |
3 files changed, 16 insertions, 85 deletions
diff --git a/test/test4-01.txt b/test/test4-01.txt index 44ccd33..b3d7270 100644 --- a/test/test4-01.txt +++ b/test/test4-01.txt @@ -1,59 +1,4 @@ -function_decl main test4.c 1:5 -- isPublic: 1 - function_type - function type - integer_type - function return 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 - tree_list - arg types - void_type - value - type_decl void <built-in> 0:0 - type name - - isAutogenerated: 1 - result_decl test4.c 1:14 - function result - - isAutogenerated: 1 - integer_type - result 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 - decl size - statement_list - code - return_expr - statement - init_expr - operand - result_decl test4.c 1:14 - operand - - isAutogenerated: 1 - integer_type - result 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 - decl size - integer_cst 0 - operand - return_expr - statement - init_expr - operand - result_decl test4.c 1:14 - operand - - isAutogenerated: 1 - integer_type - result 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 - decl size - integer_cst 0 - operand -function_decl func4_1 test4.c 10:6 +function_decl func4_1 test4.c 5:6 - isPublic: 1 function_type - function type void_type - function return type @@ -93,12 +38,12 @@ function_decl func4_1 test4.c 10:6 void_type - value type_decl void <built-in> 0:0 - type name - isAutogenerated: 1 - result_decl test4.c 10:36 - function result + result_decl test4.c 5:36 - function result - isAutogenerated: 1 void_type - result type type_decl void <built-in> 0:0 - type name - isAutogenerated: 1 - parm_decl a test4.c 10:18 - argument + parm_decl a test4.c 5:18 - argument integer_type - decl type - precisionBits: 32 - signed @@ -108,7 +53,7 @@ function_decl func4_1 test4.c 10:6 integer_cst -2147483648 - min value integer_cst 2147483647 - max value integer_cst 32 - parm size - parm_decl b test4.c 10:26 - argument + parm_decl b test4.c 5:26 - argument pointer_type - decl type integer_type - nested type - precisionBits: 32 @@ -119,7 +64,7 @@ function_decl func4_1 test4.c 10:6 integer_cst -2147483648 - min value integer_cst 2147483647 - max value integer_cst 64 - parm size - parm_decl c test4.c 10:35 - argument + parm_decl c test4.c 5:35 - argument pointer_type - decl type integer_type - nested type - precisionBits: 8 @@ -131,16 +76,8 @@ function_decl func4_1 test4.c 10:6 integer_cst -128 - min value integer_cst 127 - max value integer_cst 64 - parm size - statement_list - code - cleanup_point_expr - statement - expr_stmt - operand - call_expr - expresssion - - function: LOAD_LANES - expresssion - integer_cst 0 - arg - integer_cst 0 - arg - integer_cst 0 - arg - return_expr - statement -function_decl func4_2 test4.c 16:6 + return_expr - code +function_decl func4_2 test4.c 10:6 - isPublic: 1 function_type - function type void_type - function return type @@ -184,12 +121,12 @@ function_decl func4_2 test4.c 16:6 void_type - value type_decl void <built-in> 0:0 - type name - isAutogenerated: 1 - result_decl test4.c 16:36 - function result + result_decl test4.c 10:36 - function result - isAutogenerated: 1 void_type - result type type_decl void <built-in> 0:0 - type name - isAutogenerated: 1 - parm_decl a test4.c 16:18 - argument + parm_decl a test4.c 10:18 - argument integer_type - decl type - precisionBits: 32 - signed @@ -199,7 +136,7 @@ function_decl func4_2 test4.c 16:6 integer_cst -2147483648 - min value integer_cst 2147483647 - max value integer_cst 32 - parm size - parm_decl b test4.c 16:26 - argument + parm_decl b test4.c 10:26 - argument pointer_type - decl type integer_type - nested type - precisionBits: 32 @@ -210,7 +147,7 @@ function_decl func4_2 test4.c 16:6 integer_cst -2147483648 - min value integer_cst 2147483647 - max value integer_cst 64 - parm size - parm_decl c test4.c 16:35 - argument + parm_decl c test4.c 10:35 - argument pointer_type - decl type integer_type - nested type - precisionBits: 8 @@ -223,7 +160,7 @@ function_decl func4_2 test4.c 16:6 integer_cst 127 - max value integer_cst 64 - parm size return_expr - code -function_decl func4_3 test4.c 21:6 +function_decl func4_3 test4.c 15:6 - isPublic: 1 function_type - function type void_type - function return type @@ -269,12 +206,12 @@ function_decl func4_3 test4.c 21:6 void_type - value type_decl void <built-in> 0:0 - type name - isAutogenerated: 1 - result_decl test4.c 21:36 - function result + result_decl test4.c 15:36 - function result - isAutogenerated: 1 void_type - result type type_decl void <built-in> 0:0 - type name - isAutogenerated: 1 - parm_decl a test4.c 21:18 - argument + parm_decl a test4.c 15:18 - argument integer_type - decl type - precisionBits: 32 - signed @@ -284,7 +221,7 @@ function_decl func4_3 test4.c 21:6 integer_cst -2147483648 - min value integer_cst 2147483647 - max value integer_cst 32 - parm size - parm_decl b test4.c 21:26 - argument + parm_decl b test4.c 15:26 - argument pointer_type - decl type integer_type - nested type - precisionBits: 32 @@ -295,7 +232,7 @@ function_decl func4_3 test4.c 21:6 integer_cst -2147483648 - min value integer_cst 2147483647 - max value integer_cst 64 - parm size - parm_decl c test4.c 21:35 - argument + parm_decl c test4.c 15:35 - argument pointer_type - decl type integer_type - nested type - precisionBits: 8 diff --git a/test/test4-02.txt b/test/test4-02.txt index a90dc1d..c51f29c 100644 --- a/test/test4-02.txt +++ b/test/test4-02.txt @@ -1,4 +1,3 @@ -main: func4_1: pointer_type b, pointer_type c, func4_2: pointer_type c, func4_3: diff --git a/test/test4.c b/test/test4.c index 9f65d24..ae4bbfe 100644 --- a/test/test4.c +++ b/test/test4.c @@ -1,8 +1,3 @@ -int main(void) -{ - return 0; -} - void func4_1(int a, int *b, char *c); void func4_2(int a, int *b, char *c) __attribute__((nonnull (2))); void func4_3(int a, int *b, char *c) __attribute__((nonnull (2, 3))); |