2025-05-05 05:02 ftp://ftp.de.debian.org/debian/pool/main/j/jikespg/jikespg_1.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 272 272 elapsed-time: 2.2 2.2 head-timing-info: old-timing-info: head results: jikespg-1.3/src/lpgutil.c:988:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jikespg-1.3/src/lpgutil.c:831:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/lpgutil.c:988:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:547:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jikespg-1.3/src/lpgutil.c:574:38: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/lpgutil.c:625:55: style: Parameter 'indent' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/lpgutil.c:986:20: style: Parameter 'file_name' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/lpgutil.c:637:15: style: Variable 'token' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/main.c:260:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:294:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:302:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:307:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:313:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:316:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:321:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:325:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:330:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:333:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:337:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/main.c:55:26: style: Parameter 'argv' can be declared as const array [constParameter] jikespg-1.3/src/main.c:61:11: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] jikespg-1.3/src/main.c:62:11: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] jikespg-1.3/src/main.c:58:9: style: Unused variable: op_start [unusedVariable] jikespg-1.3/src/lpgparse.c:68:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jikespg-1.3/src/lpgparse.c:174:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jikespg-1.3/src/lpgparse.c:229:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jikespg-1.3/src/lpgparse.c:2347:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jikespg-1.3/src/ctabs.c:685:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:808:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:1123:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:1175:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:1235:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:1669:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:1692:6: warning: %d in format string (no. 6) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:2102:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:2423:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:2692:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:2813:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:2900:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/ctabs.c:1102:23: style: Variable 'num_bytes' is reassigned a value before the old one has been used. [redundantAssignment] jikespg-1.3/src/ctabs.c:1067:15: note: num_bytes is assigned jikespg-1.3/src/ctabs.c:1102:23: note: num_bytes is overwritten jikespg-1.3/src/ctabs.c:886:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/ctabs.c:897:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/ctabs.c:1002:14: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/ctabs.c:527:42: style: Parameter 'file_name' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/ctabs.c:529:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] jikespg-1.3/src/ctabs.c:600:42: style: Parameter 'file_tag' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/ctabs.c:1560:26: style: Variable 'q' can be declared as pointer to const [constVariablePointer] jikespg-1.3/src/ctabs.c:983:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/ctabs.c:1067:15: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/ctabs.c:1118:23: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/ctabs.c:1170:23: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/ctabs.c:1230:23: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/ctabs.c:835:9: style: Unused variable: n [unusedVariable] jikespg-1.3/src/mkfirst.c:327:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:405:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:452:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:709:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:731:21: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:777:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:862:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:953:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:1076:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:1420:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:1605:21: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkfirst.c:1340:9: warning: If memory allocation fails, then there is a possible null pointer dereference: temp_set [nullPointerOutOfMemory] jikespg-1.3/src/mkfirst.c:1326:22: note: Assuming allocation function fails jikespg-1.3/src/mkfirst.c:1325:16: note: Assignment 'temp_set=(unsigned int*)calloc(1,term_set_size*sizeof(unsigned int))', assigned value is 0 jikespg-1.3/src/mkfirst.c:1340:9: note: Null pointer dereference jikespg-1.3/src/mkfirst.c:1224:45: style:inconclusive: Function 's_first' argument 3 names different: declaration 'set' definition 'index'. [funcArgNamesDifferent] jikespg-1.3/src/mkfirst.c:36:45: note: Function 's_first' argument 3 names different: declaration 'set' definition 'index'. jikespg-1.3/src/mkfirst.c:1224:45: note: Function 's_first' argument 3 names different: declaration 'set' definition 'index'. jikespg-1.3/src/mkfirst.c:1680:11: style: Local variable 'top' shadows outer variable [shadowVariable] jikespg-1.3/src/mkfirst.c:92:12: note: Shadowed declaration jikespg-1.3/src/mkfirst.c:1680:11: note: Shadow variable jikespg-1.3/src/mkfirst.c:112:48: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:114:56: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:237:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:238:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:352:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:461:25: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:462:28: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:465:25: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:515:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:970:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:976:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:986:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1234:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1241:37: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1244:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1247:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1341:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1343:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1762:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1809:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkfirst.c:1155:41: style: Parameter 'produces_terminals' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/mkfirst.c:1626:25: style: Variable 'item_no' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/mkstates.c:205:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkstates.c:244:25: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkstates.c:273:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkstates.c:479:1: style: Label 'update_shift_maps' is not used. [unusedLabel] jikespg-1.3/src/mkstates.c:485:35: style: Local variable 'p' shadows outer variable [shadowVariable] jikespg-1.3/src/mkstates.c:127:18: note: Shadowed declaration jikespg-1.3/src/mkstates.c:485:35: note: Shadow variable jikespg-1.3/src/mkstates.c:564:31: style: Local variable 'p' shadows outer variable [shadowVariable] jikespg-1.3/src/mkstates.c:127:18: note: Shadowed declaration jikespg-1.3/src/mkstates.c:564:31: note: Shadow variable jikespg-1.3/src/mkstates.c:138:27: style: Variable 'new_state' can be declared as pointer to const [constVariablePointer] jikespg-1.3/src/mkred.c:65:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/mkred.c:159:41: style: Local variable 'go_to' shadows outer variable [shadowVariable] jikespg-1.3/src/mkred.c:102:29: note: Shadowed declaration jikespg-1.3/src/mkred.c:159:41: note: Shadow variable jikespg-1.3/src/mkred.c:487:41: style: Local variable 'go_to' shadows outer variable [shadowVariable] jikespg-1.3/src/mkred.c:448:29: note: Shadowed declaration jikespg-1.3/src/mkred.c:487:41: note: Shadow variable jikespg-1.3/src/mkred.c:152:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkred.c:401:25: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkred.c:480:12: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkred.c:584:5: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkred.c:924:25: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/mkred.c:685:18: style: Variable 'r' can be declared as pointer to const [constVariablePointer] jikespg-1.3/src/mkred.c:129:42: style: Variable '(go_to.map)[goto_indx].laptr' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/partset.c:114:25: style: Variable 'collection_size' is reassigned a value before the old one has been used. [redundantAssignment] jikespg-1.3/src/partset.c:110:21: note: collection_size is assigned jikespg-1.3/src/partset.c:114:25: note: collection_size is overwritten jikespg-1.3/src/partset.c:89:9: style: Local variable 'previous' shadows outer variable [shadowVariable] jikespg-1.3/src/common.h:818:13: note: Shadowed declaration jikespg-1.3/src/partset.c:89:9: note: Shadow variable jikespg-1.3/src/partset.c:103:11: style: Local variable 'next' shadows outer variable [shadowVariable] jikespg-1.3/src/common.h:817:13: note: Shadowed declaration jikespg-1.3/src/partset.c:103:11: note: Shadow variable jikespg-1.3/src/partset.c:124:55: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/partset.c:81:21: style: Parameter 'element_size' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/partset.c:81:42: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/ptables.c:462:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jikespg-1.3/src/ptables.c:46:18: warning: If memory allocation fails, then there is a possible null pointer dereference: action_count [nullPointerOutOfMemory] jikespg-1.3/src/ptables.c:98:26: note: Assuming allocation function fails jikespg-1.3/src/ptables.c:97:20: note: Assignment 'action_count=(struct action_element**)calloc(num_terminals+1,sizeof(struct action_element*))', assigned value is 0 jikespg-1.3/src/ptables.c:109:31: note: Calling function 'process_shift_actions', 1st argument 'action_count' value is 0 jikespg-1.3/src/ptables.c:46:18: note: Null pointer dereference jikespg-1.3/src/ptables.c:59:13: warning: Either the condition 'q==NULL' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] jikespg-1.3/src/ptables.c:56:19: note: Assuming that condition 'q==NULL' is not redundant jikespg-1.3/src/ptables.c:59:13: note: Null pointer dereference jikespg-1.3/src/ptables.c:60:13: warning: Either the condition 'q==NULL' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] jikespg-1.3/src/ptables.c:56:19: note: Assuming that condition 'q==NULL' is not redundant jikespg-1.3/src/ptables.c:60:13: note: Null pointer dereference jikespg-1.3/src/ptables.c:61:13: warning: Either the condition 'q==NULL' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] jikespg-1.3/src/ptables.c:56:19: note: Assuming that condition 'q==NULL' is not redundant jikespg-1.3/src/ptables.c:61:13: note: Null pointer dereference jikespg-1.3/src/ptables.c:232:17: warning: Either the condition 'q==NULL' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] jikespg-1.3/src/ptables.c:229:23: note: Assuming that condition 'q==NULL' is not redundant jikespg-1.3/src/ptables.c:232:17: note: Null pointer dereference jikespg-1.3/src/ptables.c:233:17: warning: Either the condition 'q==NULL' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] jikespg-1.3/src/ptables.c:229:23: note: Assuming that condition 'q==NULL' is not redundant jikespg-1.3/src/ptables.c:233:17: note: Null pointer dereference jikespg-1.3/src/ptables.c:234:17: warning: Either the condition 'q==NULL' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] jikespg-1.3/src/ptables.c:229:23: note: Assuming that condition 'q==NULL' is not redundant jikespg-1.3/src/ptables.c:234:17: note: Null pointer dereference jikespg-1.3/src/remsp.c:510:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable update_action [valueFlowBailoutIncompleteVar] jikespg-1.3/src/remsp.c:601:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sp_table [valueFlowBailoutIncompleteVar] jikespg-1.3/src/remsp.c:831:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sp_table [valueFlowBailoutIncompleteVar] jikespg-1.3/src/produce.c:152:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/produce.c:584:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/produce.c:641:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/produce.c:908:21: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/produce.c:1504:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/produce.c:872:13: warning: If memory allocation fails, then there is a possible null pointer dereference: collection [nullPointerOutOfMemory] jikespg-1.3/src/produce.c:854:28: note: Assuming allocation function fails jikespg-1.3/src/produce.c:853:22: note: Assignment 'collection=(unsigned int*)calloc(num_state_sets+1,state_set_size*sizeof(unsigned int))', assigned value is 0 jikespg-1.3/src/produce.c:872:13: note: Null pointer dereference jikespg-1.3/src/produce.c:877:17: warning: If memory allocation fails, then there is a possible null pointer dereference: collection [nullPointerOutOfMemory] jikespg-1.3/src/produce.c:854:28: note: Assuming allocation function fails jikespg-1.3/src/produce.c:853:22: note: Assignment 'collection=(unsigned int*)calloc(num_state_sets+1,state_set_size*sizeof(unsigned int))', assigned value is 0 jikespg-1.3/src/produce.c:877:17: note: Null pointer dereference jikespg-1.3/src/produce.c:836:1: style: Label 'process_scope_states' is not used. [unusedLabel] jikespg-1.3/src/produce.c:506:12: style: Local variable 'state_index' shadows outer variable [shadowVariable] jikespg-1.3/src/common.h:819:13: note: Shadowed declaration jikespg-1.3/src/produce.c:506:12: note: Shadow variable jikespg-1.3/src/produce.c:843:16: style: Local variable 'stack' shadows outer variable [shadowVariable] jikespg-1.3/src/produce.c:16:15: note: Shadowed declaration jikespg-1.3/src/produce.c:843:16: note: Shadow variable jikespg-1.3/src/produce.c:845:16: style: Local variable 'state_list' shadows outer variable [shadowVariable] jikespg-1.3/src/common.h:815:15: note: Shadowed declaration jikespg-1.3/src/produce.c:845:16: note: Shadow variable jikespg-1.3/src/produce.c:849:13: style: Local variable 'state_no' shadows outer variable [shadowVariable] jikespg-1.3/src/produce.c:523:11: note: Shadowed declaration jikespg-1.3/src/produce.c:849:13: note: Shadow variable jikespg-1.3/src/produce.c:161:21: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:162:24: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:164:21: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:232:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:290:19: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:579:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:580:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:593:23: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:595:21: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:637:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:651:27: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:653:25: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:715:20: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:730:19: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:732:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:852:63: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:877:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:1116:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:1153:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:1154:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/produce.c:193:20: style: Variable 'symbol' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/lpgparse.c:426:32: style: Redundant condition: The condition 'parm[i] != '\0'' is redundant since 'parm[i] == ' '' is sufficient. [redundantCondition] jikespg-1.3/src/lpgparse.c:1929:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/lpgparse.c:1960:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/lpgparse.c:3110:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/lpgparse.c:3125:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/lpgparse.c:1688:5: warning: Either the condition 'p==(struct hash_type*)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jikespg-1.3/src/lpgparse.c:1686:11: note: Assuming that condition 'p==(struct hash_type*)NULL' is not redundant jikespg-1.3/src/lpgparse.c:1688:5: note: Null pointer dereference jikespg-1.3/src/lpgparse.c:1690:5: warning: Either the condition 'p==(struct hash_type*)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jikespg-1.3/src/lpgparse.c:1686:11: note: Assuming that condition 'p==(struct hash_type*)NULL' is not redundant jikespg-1.3/src/lpgparse.c:1690:5: note: Null pointer dereference jikespg-1.3/src/lpgparse.c:1694:5: warning: Either the condition 'p==(struct hash_type*)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jikespg-1.3/src/lpgparse.c:1686:11: note: Assuming that condition 'p==(struct hash_type*)NULL' is not redundant jikespg-1.3/src/lpgparse.c:1694:5: note: Null pointer dereference jikespg-1.3/src/lpgparse.c:1744:1: style: Label 'process_non_terminal' is not used. [unusedLabel] jikespg-1.3/src/lpgparse.c:1512:23: style:inconclusive: Function 'hash' argument 1 names different: declaration 'symbl' definition 'symb'. [funcArgNamesDifferent] jikespg-1.3/src/lpgparse.h:327:23: note: Function 'hash' argument 1 names different: declaration 'symbl' definition 'symb'. jikespg-1.3/src/lpgparse.c:1512:23: note: Function 'hash' argument 1 names different: declaration 'symbl' definition 'symb'. jikespg-1.3/src/lpgparse.c:2779:10: style: Local variable 'suffix' shadows outer variable [shadowVariable] jikespg-1.3/src/common.h:575:13: note: Shadowed declaration jikespg-1.3/src/lpgparse.c:2779:10: note: Shadow variable jikespg-1.3/src/lpgparse.c:308:29: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/lpgparse.c:1537:54: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/lpgparse.c:1089:15: warning: Char literal compared with pointer 'p1'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] jikespg-1.3/src/remsp.c:281:13: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/remsp.c:986:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/remsp.c:528:17: warning: Either the condition 'p==(struct update_action_element*)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:526:23: note: Assuming that condition 'p==(struct update_action_element*)NULL' is not redundant jikespg-1.3/src/remsp.c:528:17: note: Null pointer dereference jikespg-1.3/src/remsp.c:531:17: warning: Either the condition 'p==(struct update_action_element*)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:526:23: note: Assuming that condition 'p==(struct update_action_element*)NULL' is not redundant jikespg-1.3/src/remsp.c:531:17: note: Null pointer dereference jikespg-1.3/src/remsp.c:532:17: warning: Either the condition 'p==(struct update_action_element*)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:526:23: note: Assuming that condition 'p==(struct update_action_element*)NULL' is not redundant jikespg-1.3/src/remsp.c:532:17: note: Null pointer dereference jikespg-1.3/src/remsp.c:533:17: warning: Either the condition 'p==(struct update_action_element*)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:526:23: note: Assuming that condition 'p==(struct update_action_element*)NULL' is not redundant jikespg-1.3/src/remsp.c:533:17: note: Null pointer dereference jikespg-1.3/src/remsp.c:700:9: warning: Either the condition 'state==NULL' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:697:19: note: Assuming that condition 'state==NULL' is not redundant jikespg-1.3/src/remsp.c:700:9: note: Null pointer dereference jikespg-1.3/src/remsp.c:703:9: warning: Either the condition 'state==NULL' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:697:19: note: Assuming that condition 'state==NULL' is not redundant jikespg-1.3/src/remsp.c:703:9: note: Null pointer dereference jikespg-1.3/src/remsp.c:707:9: warning: Either the condition 'state==NULL' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:697:19: note: Assuming that condition 'state==NULL' is not redundant jikespg-1.3/src/remsp.c:707:9: note: Null pointer dereference jikespg-1.3/src/remsp.c:708:9: warning: Either the condition 'state==NULL' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:697:19: note: Assuming that condition 'state==NULL' is not redundant jikespg-1.3/src/remsp.c:708:9: note: Null pointer dereference jikespg-1.3/src/remsp.c:713:9: warning: Either the condition 'state==NULL' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:697:19: note: Assuming that condition 'state==NULL' is not redundant jikespg-1.3/src/remsp.c:713:9: note: Null pointer dereference jikespg-1.3/src/remsp.c:715:9: warning: Either the condition 'state==NULL' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] jikespg-1.3/src/remsp.c:697:19: note: Assuming that condition 'state==NULL' is not redundant jikespg-1.3/src/remsp.c:715:9: note: Null pointer dereference jikespg-1.3/src/remsp.c:1158:52: style: Local variable 'p' shadows outer variable [shadowVariable] jikespg-1.3/src/remsp.c:764:30: note: Shadowed declaration jikespg-1.3/src/remsp.c:1158:52: note: Shadow variable jikespg-1.3/src/remsp.c:1388:43: style: Local variable 'p' shadows outer variable [shadowVariable] jikespg-1.3/src/remsp.c:764:30: note: Shadowed declaration jikespg-1.3/src/remsp.c:1388:43: note: Shadow variable jikespg-1.3/src/remsp.c:1404:36: style: Local variable 'p' shadows outer variable [shadowVariable] jikespg-1.3/src/remsp.c:764:30: note: Shadowed declaration jikespg-1.3/src/remsp.c:1404:36: note: Shadow variable jikespg-1.3/src/remsp.c:267:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/remsp.c:271:25: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/remsp.c:310:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/remsp.c:314:21: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/remsp.c:966:22: style: Variable 'item_ptr' can be declared as pointer to const [constVariablePointer] jikespg-1.3/src/remsp.c:474:12: warning: Uninitialized variable: rule_no [uninitvar] jikespg-1.3/src/remsp.c:462:17: note: Assuming condition is false jikespg-1.3/src/remsp.c:474:12: note: Uninitialized variable: rule_no jikespg-1.3/src/remsp.c:1340:34: warning: Uninitialized variable: default_rule [uninitvar] jikespg-1.3/src/remsp.c:1320:40: note: Assuming condition is false jikespg-1.3/src/remsp.c:1340:34: note: Uninitialized variable: default_rule jikespg-1.3/src/tabutil.c:1422:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/tabutil.c:1519:17: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] jikespg-1.3/src/tabutil.c:285:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:298:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:304:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:518:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:548:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:579:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:911:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:919:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:981:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:1142:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:1162:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:1343:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/tabutil.c:678:7: style: Variable 'k' is reassigned a value before the old one has been used. [redundantAssignment] jikespg-1.3/src/tabutil.c:666:6: note: k is assigned jikespg-1.3/src/tabutil.c:678:7: note: k is overwritten jikespg-1.3/src/tabutil.c:774:7: style: Variable 'k' is reassigned a value before the old one has been used. [redundantAssignment] jikespg-1.3/src/tabutil.c:762:6: note: k is assigned jikespg-1.3/src/tabutil.c:774:7: note: k is overwritten jikespg-1.3/src/tabutil.c:440:16: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/tabutil.c:477:20: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/tabutil.c:627:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/tabutil.c:638:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/tabutil.c:724:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/tabutil.c:21:72: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:60:68: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:99:21: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:833:22: style: Variable 'q' can be declared as pointer to const [constVariablePointer] jikespg-1.3/src/tabutil.c:1380:42: style: Parameter 'state_start' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:1381:42: style: Parameter 'state_stack' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:1382:42: style: Parameter 'state_list' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:1477:43: style: Parameter 'state_start' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:1478:43: style: Parameter 'state_stack' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:1479:43: style: Parameter 'state_list' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/tabutil.c:502:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/tabutil.c:511:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/tabutil.c:910:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/tabutil.c:918:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/tabutil.c:980:18: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/resolve.c:1788:5: warning: Either the condition 'state==(struct state_element*)NULL' is redundant or there is possible null pointer dereference: state. [nullPointerRedundantCheck] jikespg-1.3/src/resolve.c:1785:15: note: Assuming that condition 'state==(struct state_element*)NULL' is not redundant jikespg-1.3/src/resolve.c:1788:5: note: Null pointer dereference jikespg-1.3/src/resolve.c:1895:5: style: Label 'Build_reduce_map' is not used. [unusedLabel] jikespg-1.3/src/resolve.c:2104:31: style:inconclusive: Function 'resolve_conflicts' argument 3 names different: declaration 'reduce_list' definition 'symbol_list'. [funcArgNamesDifferent] jikespg-1.3/src/header.h:85:31: note: Function 'resolve_conflicts' argument 3 names different: declaration 'reduce_list' definition 'symbol_list'. jikespg-1.3/src/resolve.c:2104:31: note: Function 'resolve_conflicts' argument 3 names different: declaration 'reduce_list' definition 'symbol_list'. jikespg-1.3/src/resolve.c:2104:48: style:inconclusive: Function 'resolve_conflicts' argument 4 names different: declaration 'reduce_root' definition 'symbol_root'. [funcArgNamesDifferent] jikespg-1.3/src/header.h:85:48: note: Function 'resolve_conflicts' argument 4 names different: declaration 'reduce_root' definition 'symbol_root'. jikespg-1.3/src/resolve.c:2104:48: note: Function 'resolve_conflicts' argument 4 names different: declaration 'reduce_root' definition 'symbol_root'. jikespg-1.3/src/resolve.c:317:28: style: Local variable 'sources' shadows outer variable [shadowVariable] jikespg-1.3/src/resolve.c:78:3: note: Shadowed declaration jikespg-1.3/src/resolve.c:317:28: note: Shadow variable jikespg-1.3/src/resolve.c:1544:27: style: Local variable 'stack' shadows outer variable [shadowVariable] jikespg-1.3/src/resolve.c:172:15: note: Shadowed declaration jikespg-1.3/src/resolve.c:1544:27: note: Shadow variable jikespg-1.3/src/resolve.c:1808:31: style: Local variable 'p' shadows outer variable [shadowVariable] jikespg-1.3/src/resolve.c:1532:19: note: Shadowed declaration jikespg-1.3/src/resolve.c:1808:31: note: Shadow variable jikespg-1.3/src/resolve.c:1898:13: style: Local variable 'i' shadows outer variable [shadowVariable] jikespg-1.3/src/resolve.c:1553:9: note: Shadowed declaration jikespg-1.3/src/resolve.c:1898:13: note: Shadow variable jikespg-1.3/src/resolve.c:2220:49: style: Local variable 'q' shadows outer variable [shadowVariable] jikespg-1.3/src/resolve.c:2111:27: note: Shadowed declaration jikespg-1.3/src/resolve.c:2220:49: note: Shadow variable jikespg-1.3/src/resolve.c:2328:53: style: Local variable 'q' shadows outer variable [shadowVariable] jikespg-1.3/src/resolve.c:2111:27: note: Shadowed declaration jikespg-1.3/src/resolve.c:2328:53: note: Shadow variable jikespg-1.3/src/resolve.c:2387:12: style: Local variable 'state_list' shadows outer variable [shadowVariable] jikespg-1.3/src/common.h:815:15: note: Shadowed declaration jikespg-1.3/src/resolve.c:2387:12: note: Shadow variable jikespg-1.3/src/resolve.c:749:12: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:755:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:854:12: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:860:12: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:1143:15: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:1348:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:1399:13: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:1635:9: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:1647:17: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:1981:23: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] jikespg-1.3/src/resolve.c:2104:31: style: Parameter 'symbol_list' can be declared as pointer to const [constParameterPointer] jikespg-1.3/src/resolve.c:1303:35: warning: Uninitialized variables: tail.next, tail.value [uninitvar] jikespg-1.3/src/resolve.c:1283:35: note: Assuming condition is false jikespg-1.3/src/resolve.c:1303:35: note: Uninitialized variables: tail.next, tail.value jikespg-1.3/src/resolve.c:1462:35: warning: Uninitialized variables: tail.next, tail.value [uninitvar] jikespg-1.3/src/resolve.c:1442:35: note: Assuming condition is false jikespg-1.3/src/resolve.c:1462:35: note: Uninitialized variables: tail.next, tail.value jikespg-1.3/src/resolve.c:354:9: style: Unused variable: i [unusedVariable] jikespg-1.3/src/resolve.c:1879:37: style: Variable '(sh.map)[i].symbol' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/resolve.c:1880:37: style: Variable '(sh.map)[i].action' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/resolve.c:1925:31: style: Variable '(red.map)[0].symbol' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/resolve.c:1927:36: style: Variable '(red.map)[0].rule_number' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/resolve.c:1929:36: style: Variable '(red.map)[0].rule_number' is assigned a value that is never used. [unreadVariable] jikespg-1.3/src/spacetab.c:313:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/spacetab.c:873:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/spacetab.c:1525:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/spacetab.c:1626:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/spacetab.c:1920:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/spacetab.c:2172:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/spacetab.c:41:12: style: Local variable 'frequency_symbol' shadows outer variable [shadowVariable] jikespg-1.3/src/spacetab.c:28:15: note: Shadowed declaration jikespg-1.3/src/spacetab.c:41:12: note: Shadow variable jikespg-1.3/src/spacetab.c:42:12: style: Local variable 'frequency_count' shadows outer variable [shadowVariable] jikespg-1.3/src/spacetab.c:29:15: note: Shadowed declaration jikespg-1.3/src/spacetab.c:42:12: note: Shadow variable jikespg-1.3/src/spacetab.c:43:12: style: Local variable 'row_size' shadows outer variable [shadowVariable] jikespg-1.3/src/spacetab.c:27:15: note: Shadowed declaration jikespg-1.3/src/spacetab.c:43:12: note: Shadow variable jikespg-1.3/src/spacetab.c:894:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/spacetab.c:1543:19: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] jikespg-1.3/src/timetab.c:429:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/timetab.c:528:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] jikespg-1.3/src/timetab.c:610:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] diff: DONE