=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for rdp-1.5nb2 gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c rdp.c rdp.c:42:1: warning: string length '810' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] "'|'\0" "'}'\0" ; ^~~~~~~ rdp.c: In function 'item_inl': rdp.c:1025:49: warning: overflow in implicit constant conversion [-Woverflow] result->contains_null = 1; \ ^ rdp.c:1105:47: warning: overflow in implicit constant conversion [-Woverflow] if (result->lo == 0) result->contains_null = 1; \ ^ rdp.c:1198:70: warning: overflow in implicit constant conversion [-Woverflow] result->list = body; result->contains_null = 1; \ ^ rdp.c:1216:70: warning: overflow in implicit constant conversion [-Woverflow] result->list = body; result->contains_null = 1; \ ^ rdp.c: In function 'rule': rdp.c:1584:36: warning: overflow in implicit constant conversion [-Woverflow] result->parameterised = 1; ^ rdp.c:1723:61: warning: overflow in implicit constant conversion [-Woverflow] result->been_defined = 1; \ ^ rdp.c: In function 'prod': rdp.c:1849:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] promote_op=body->promote; default_action = NULL; \ ~~~~~~~~~~^~~~~~~~~~~~~~ rdp.c:1007:13: note: 'result' was declared here rdp_data* result; ^~~~~~ rdp.c:2001:46: warning: 'promote_epsilon' may be used uninitialized in this function [-Wmaybe-uninitialized] end->promote_epsilon = promote_epsilon; \ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rdp.c:1743:41: note: 'promote_epsilon' was declared here rdp_list* end; int promote_op; int promote_epsilon; if (rdp_pass == 2) { \ ^~~~~~~~~~~~~~~ rdp.c:2000:38: warning: 'promote_op' may be used uninitialized in this function [-Wmaybe-uninitialized] end->promote = promote_op; \ ~~~~~~~~~~~~~^~~~~~~~~~~~ rdp.c:1743:25: note: 'promote_op' was declared here rdp_list* end; int promote_op; int promote_epsilon; if (rdp_pass == 2) { \ ^~~~~~~~~~ rdp.c:2002:45: warning: 'default_action' may be used uninitialized in this function [-Wmaybe-uninitialized] end->default_action = default_action; \ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ rdp.c:1741:9: note: 'default_action' was declared here char* default_action; ^~~~~~~~~~~~~~ rdp.c:1999:42: warning: 'ret_name' may be used uninitialized in this function [-Wmaybe-uninitialized] end->return_name = ret_name; \ ~~~~~~~~~~~~~~~~~^~~~~~~~~~ rdp.c:1740:9: note: 'ret_name' was declared here char* ret_name; ^~~~~~~~ rdp.c:1995:12: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized] end->next = (rdp_list*) mem_calloc(sizeof(rdp_list), 1); \ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp.c:1743:16: note: 'end' was declared here rdp_list* end; int promote_op; int promote_epsilon; if (rdp_pass == 2) { \ ^~~ rdp.c:2010:9: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result = result->next; \ ~~~~~~~^~~~~~~~~~~~~~ rdp.c:1738:13: note: 'result' was declared here rdp_list* result; ^~~~~~ rdp.c:1537:12: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized] end->next = (rdp_list*) mem_calloc(sizeof(rdp_list), 1); \ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp.c:1550:9: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result = result->next; \ ~~~~~~~^~~~~~~~~~~~~~ rdp.c: In function 'unit': rdp.c:554:2: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] rdp_add_arg(ARG_STRING, key, var, desc); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp.c:410:9: note: 'var' was declared here char* var; ^~~ rdp.c:1625:43: warning: 'stars' may be used uninitialized in this function [-Wmaybe-uninitialized] param->stars = stars; \ ~~~~~~~~~~~~~^~~~~~~ rdp.c:1564:15: note: 'stars' was declared here unsigned stars; ^~~~~ gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c rdp_aux.c rdp_aux.c: In function 'rdp_order_tokens': rdp_aux.c:224:26: warning: overflow in implicit constant conversion [-Woverflow] temp->first_done = 1; ^ gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c rdp_gram.c rdp_gram.c: In function 'rdp_first': rdp_gram.c:110:27: warning: overflow in implicit constant conversion [-Woverflow] prod->ll1_violation = 1; ^ rdp_gram.c:118:20: warning: overflow in implicit constant conversion [-Woverflow] prod->in_use = 1; /* mark this production as being processed */ ^ rdp_gram.c:122:29: warning: overflow in implicit constant conversion [-Woverflow] prod->contains_null = 1; /* set up list flag */ ^ rdp_gram.c:145:24: warning: overflow in implicit constant conversion [-Woverflow] prod->first_done = 1; /* first set is now complete */ ^ rdp_gram.c: In function 'rdp_check_empties': rdp_gram.c:278:47: warning: overflow in implicit constant conversion [-Woverflow] list->production->code_terminator = 1; ^ rdp_gram.c:280:52: warning: overflow in implicit constant conversion [-Woverflow] list->next->production->code_successor = 1; /* next one is code successor */ ^ rdp_gram.c:282:47: warning: overflow in implicit constant conversion [-Woverflow] list->production->code_terminator = 1; /* this one is code terminator */ ^ rdp_gram.c:276:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (list->production->kind == K_CODE) /* check code position */ ^ rdp_gram.c:297:31: warning: overflow in implicit constant conversion [-Woverflow] temp->ll1_violation = 1; ^ rdp_gram.c:301:27: warning: overflow in implicit constant conversion [-Woverflow] temp->code_only = 1; ^ rdp_gram.c:315:25: warning: overflow in implicit constant conversion [-Woverflow] temp->code_only = 1; ^ rdp_gram.c: In function 'rdp_check_nested_nullable': rdp_gram.c:354:33: warning: overflow in implicit constant conversion [-Woverflow] temp->ll1_violation = 1; ^ rdp_gram.c:355:46: warning: overflow in implicit constant conversion [-Woverflow] inner->production->ll1_violation = 1; ^ rdp_gram.c: In function 'rdp_check_disjoint': rdp_gram.c:392:47: warning: overflow in implicit constant conversion [-Woverflow] left->production->ll1_violation = 1; ^ rdp_gram.c:393:48: warning: overflow in implicit constant conversion [-Woverflow] right->production->ll1_violation = 1; ^ rdp_gram.c:410:47: warning: overflow in implicit constant conversion [-Woverflow] left->production->ll1_violation = 1; ^ rdp_gram.c:411:48: warning: overflow in implicit constant conversion [-Woverflow] right->production->ll1_violation = 1; ^ rdp_gram.c: In function 'rdp_check_nullable': rdp_gram.c:445:31: warning: overflow in implicit constant conversion [-Woverflow] temp->ll1_violation = 1; ^ gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c rdp_prnt.c rdp_prnt.c: In function 'rdp_print_parser': rdp_prnt.c:1282:5: warning: string length '630' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] ); ^ gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ./rdp_supp/arg.c gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ./rdp_supp/graph.c gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ./rdp_supp/memalloc.c gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ./rdp_supp/scan.c gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ./rdp_supp/scanner.c gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ./rdp_supp/set.c gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ./rdp_supp/symbol.c gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ./rdp_supp/textio.c gcc -Wl,-R/usr/pkg/lib -o ./rdp rdp.o rdp_*.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./rdp -F -omini_syn mini_syn gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c mini_syn.c gcc -Wl,-R/usr/pkg/lib -o ./mini_syn mini_syn.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./mini_syn testcalc ./rdp -F -ominicalc minicalc gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c minicalc.c minicalc.c: In function 'e4': minicalc.c:274:31: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result = (integer) pow((double) result, (double) right); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minicalc.c: In function 'e3': minicalc.c:257:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return result; ^~~~~~ minicalc.c: In function 'program': minicalc.c:452:24: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] ->i = val; \ minicalc.c:427:11: note: 'val' was declared here integer val; ^~~ gcc -Wl,-R/usr/pkg/lib -o ./minicalc minicalc.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm ./minicalc testcalc a is 7 b is 14, -b is -14 7 cubed is 343 ./rdp -F -ominicond minicond ******: Error - LL(1) violation - rule rdp_statement_2 ::= [ 'else' _and_not statement ] . contains null but first and follow sets both include: 'else' ******: Warning - Grammar is not LL(1) but -F set: writing files ******: 1 error and 1 warning gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c minicond.c minicond.c: In function 'e4': minicond.c:406:31: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result = (integer) pow((double) result, (double) right); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minicond.c: In function 'e3': minicond.c:389:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return result; ^~~~~~ gcc -Wl,-R/usr/pkg/lib -o ./minicond minicond.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm ./minicond testcond a is 7 b is 14, -b is -14 7 cubed is 343 z equals a z does not equal a ./rdp -F -ominiloop miniloop ******: Error - LL(1) violation - rule rdp_statement_2 ::= [ 'else' statement ] . contains null but first and follow sets both include: 'else' ******: Warning - Grammar is not LL(1) but -F set: writing files ******: 1 error and 1 warning gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c miniloop.c miniloop.c:43:16: warning: no previous prototype for 'rdp_add_child' [-Wmissing-prototypes] rdp_tree_data* rdp_add_child(char* id, rdp_tree_data* rdp_tree) ^~~~~~~~~~~~~ miniloop.c: In function 'e4': miniloop.c:519:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] emit("EXP", "**", dst, left, right); left = dst; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c ml_aux.c gcc -Wl,-R/usr/pkg/lib -o ./miniloop miniloop.o ml_aux.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm ./rdp -F -omvmasm mvmasm gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c mvmasm.c mvmasm.c: In function 'directive': mvmasm.c:1008:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (*str!=0) emit1(*str++); emit1(0); ^~~~~ mvmasm.c:1008:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while (*str!=0) emit1(*str++); emit1(0); ^~~~~ mvmasm.c: In function 'e10': mvmasm.c:1203:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return result; ^~~~~~ mvmasm.c:1220:31: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result = (integer) pow((double) result, (double) right); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mvmasm.c:1034:11: note: 'result' was declared here integer result; ^~~~~~ mvmasm.c: In function 'unit': mvmasm.c:920:6: warning: 'op' may be used uninitialized in this function [-Wmaybe-uninitialized] emit_op(op, dst, src1, src2, m1, m2, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mvmasm.c:491:10: note: 'op' was declared here int op, m1 = 1, m2 = 1; ^~ mvmasm.c:920:6: warning: 'src2' may be used uninitialized in this function [-Wmaybe-uninitialized] emit_op(op, dst, src1, src2, m1, m2, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mvmasm.c:489:11: note: 'src2' was declared here integer src2; ^~~~ mvmasm.c:920:6: warning: 'src1' may be used uninitialized in this function [-Wmaybe-uninitialized] emit_op(op, dst, src1, src2, m1, m2, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mvmasm.c:488:11: note: 'src1' was declared here integer src1; ^~~~ mvmasm.c:920:6: warning: 'dst' may be used uninitialized in this function [-Wmaybe-uninitialized] emit_op(op, dst, src1, src2, m1, m2, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mvmasm.c:487:11: note: 'dst' was declared here integer dst; ^~~ gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c mvm_aux.c mvm_aux.c: In function 'emitf': mvm_aux.c:50:9: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] return(i); /* for completeness, although not used here */ ^ gcc -Wl,-R/usr/pkg/lib -o ./mvmasm mvmasm.o mvm_aux.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c mvmsim.c gcc -Wl,-R/usr/pkg/lib -o ./mvmsim mvmsim.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o -lm ./miniloop -otestloop.mvm testloop ./mvmasm -otestloop.sim testloop ******: Transfer address 00001000 ./mvmsim testloop.sim a is 7 b is 14, -b is -14 7 cubed is 343 z equals a z does not equal a a is 3 a is 2 a is 1 -- Halted -- ./rdp -F -ominitree minitree ******: Error - LL(1) violation - rule rdp_statement_2 ::= [ 'else' statement ] . contains null but first and follow sets both include: 'else' ******: Warning - Grammar is not LL(1) but -F set: writing files ******: 1 error and 1 warning gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c minitree.c minitree.c:44:16: warning: no previous prototype for 'rdp_add_child' [-Wmissing-prototypes] rdp_tree_data* rdp_add_child(char* id, rdp_tree_data* rdp_tree) ^~~~~~~~~~~~~ gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c mt_aux.c mt_aux.c:20:8: warning: no previous prototype for 'expression_walk' [-Wmissing-prototypes] char * expression_walk(rdp_tree_data * root) ^~~~~~~~~~~~~~~ mt_aux.c:78:6: warning: no previous prototype for 'tree_walk' [-Wmissing-prototypes] void tree_walk(rdp_tree_data * root) ^~~~~~~~~ gcc -Wl,-R/usr/pkg/lib -o ./minitree minitree.o m*_aux.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./minitree -otesttree.mvm testtree ./mvmasm -otesttree.sim testtree ******: Transfer address 00001000 ./mvmsim testtree.sim a is 7 b is 14, -b is -14 7 cubed is 343 z equals a z does not equal a a is 3 a is 2 a is 1 -- Halted -- ./rdp -opascal -F pascal ******: Error - LL(1) violation - rule rdp_statement_9 ::= [ 'else' statement ] . contains null but first and follow sets both include: 'else' ******: Warning - Grammar is not LL(1) but -F set: writing files ******: 1 error and 1 warning gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c pascal.c pascal.c:38:1: warning: string length '528' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] "'var'\0" "'while'\0" "'with'\0" "'{'\0" ; ^~~~~~~~~ pascal.c:44:16: warning: no previous prototype for 'rdp_add_child' [-Wmissing-prototypes] rdp_tree_data* rdp_add_child(char* id, rdp_tree_data* rdp_tree) ^~~~~~~~~~~~~ gcc -Wl,-R/usr/pkg/lib -o ./pascal pascal.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./pascal test ./rdp -opretty_c pretty_c gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c pretty_c.c pretty_c.c:42:1: warning: string length '643' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] "'}'\0" "'~'\0" ; ^~~~~~~ pretty_c.c: In function 'program': pretty_c.c:1383:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] pretty_print(lexeme, kind, column, line); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pretty_c.c:1383:12: warning: 'kind' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c pr_c_aux.c pr_c_aux.c: In function 'pretty_print': pr_c_aux.c:113:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!((column == 1)&&(kind == K_COMMENT))) /* Don't indent comments that start in column 1 */ ^ gcc -Wl,-R/usr/pkg/lib -o ./pretty_c pretty_c.o pr_c_aux.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o ./pretty_c test test.c,2133,12267,5.75 diff -s test.c test.bak Files test.c and test.bak are identical rm test.bak ./rdp -F -ordp1 rdp gcc -O2 -mieee -I./rdp_supp/ -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -c rdp1.c rdp1.c:42:1: warning: string length '810' is greater than the length '509' ISO C90 compilers are required to support [-Woverlength-strings] "'|'\0" "'}'\0" ; ^~~~~~~ rdp1.c: In function 'item_inl': rdp1.c:1025:49: warning: overflow in implicit constant conversion [-Woverflow] result->contains_null = 1; \ ^ rdp1.c:1105:47: warning: overflow in implicit constant conversion [-Woverflow] if (result->lo == 0) result->contains_null = 1; \ ^ rdp1.c:1198:70: warning: overflow in implicit constant conversion [-Woverflow] result->list = body; result->contains_null = 1; \ ^ rdp1.c:1216:70: warning: overflow in implicit constant conversion [-Woverflow] result->list = body; result->contains_null = 1; \ ^ rdp1.c: In function 'rule': rdp1.c:1584:36: warning: overflow in implicit constant conversion [-Woverflow] result->parameterised = 1; ^ rdp1.c:1723:61: warning: overflow in implicit constant conversion [-Woverflow] result->been_defined = 1; \ ^ rdp1.c: In function 'prod': rdp1.c:1849:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] promote_op=body->promote; default_action = NULL; \ ~~~~~~~~~~^~~~~~~~~~~~~~ rdp1.c:1007:13: note: 'result' was declared here rdp_data* result; ^~~~~~ rdp1.c:2001:46: warning: 'promote_epsilon' may be used uninitialized in this function [-Wmaybe-uninitialized] end->promote_epsilon = promote_epsilon; \ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rdp1.c:1743:41: note: 'promote_epsilon' was declared here rdp_list* end; int promote_op; int promote_epsilon; if (rdp_pass == 2) { \ ^~~~~~~~~~~~~~~ rdp1.c:2000:38: warning: 'promote_op' may be used uninitialized in this function [-Wmaybe-uninitialized] end->promote = promote_op; \ ~~~~~~~~~~~~~^~~~~~~~~~~~ rdp1.c:1743:25: note: 'promote_op' was declared here rdp_list* end; int promote_op; int promote_epsilon; if (rdp_pass == 2) { \ ^~~~~~~~~~ rdp1.c:2002:45: warning: 'default_action' may be used uninitialized in this function [-Wmaybe-uninitialized] end->default_action = default_action; \ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ rdp1.c:1741:9: note: 'default_action' was declared here char* default_action; ^~~~~~~~~~~~~~ rdp1.c:1999:42: warning: 'ret_name' may be used uninitialized in this function [-Wmaybe-uninitialized] end->return_name = ret_name; \ ~~~~~~~~~~~~~~~~~^~~~~~~~~~ rdp1.c:1740:9: note: 'ret_name' was declared here char* ret_name; ^~~~~~~~ rdp1.c:1995:12: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized] end->next = (rdp_list*) mem_calloc(sizeof(rdp_list), 1); \ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp1.c:1743:16: note: 'end' was declared here rdp_list* end; int promote_op; int promote_epsilon; if (rdp_pass == 2) { \ ^~~ rdp1.c:2010:9: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result = result->next; \ ~~~~~~~^~~~~~~~~~~~~~ rdp1.c:1738:13: note: 'result' was declared here rdp_list* result; ^~~~~~ rdp1.c:1537:12: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized] end->next = (rdp_list*) mem_calloc(sizeof(rdp_list), 1); \ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp1.c:1550:9: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result = result->next; \ ~~~~~~~^~~~~~~~~~~~~~ rdp1.c: In function 'unit': rdp1.c:554:2: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] rdp_add_arg(ARG_STRING, key, var, desc); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdp1.c:410:9: note: 'var' was declared here char* var; ^~~ rdp1.c:1625:43: warning: 'stars' may be used uninitialized in this function [-Wmaybe-uninitialized] param->stars = stars; \ ~~~~~~~~~~~~~^~~~~~~ rdp1.c:1564:15: note: 'stars' was declared here unsigned stars; ^~~~~ gcc -Wl,-R/usr/pkg/lib -o ./rdp1 rdp1.o rdp_*.o arg.o graph.o memalloc.o scan.o scanner.o set.o symbol.o textio.o cp rdp1.c rdp2.c ./rdp1 -F -ordp1 rdp diff -s rdp1.c rdp2.c 3c3 < * Parser generated by RDP on Jan 05 2024 11:53:12 from rdp.bnf --- > * Parser generated by RDP on Jan 05 2024 11:53:09 from rdp.bnf *** Error code 1 (ignored)