diff --git a/cobc/ChangeLog b/cobc/ChangeLog index aeb1c5bf0..577c4a6f5 100644 --- a/cobc/ChangeLog +++ b/cobc/ChangeLog @@ -116,16 +116,14 @@ 2024-03-15 Fabrice Le Fessant - * cobc.c: add new flags to output dependencies following gcc: -M to - output deps only, -MD to output deps while compiling (in .d files), - -MP to output phony targets, -MG to keep missing copybooks, - -MQ to Makefile-quote target - * flags.def: -fcopybook-deps outputs only copybook names instead - of file paths. -fcopybook-deps also forces -E, -foneline-deps, - -MT=copybooks, disables errors on missing copybooks and removes - output on stdout. - * typeck.c (check_argument_conformance): check that param is well defined - to prevent a segfault + * cobc.c, help.c, pplex.l: add new flags to output dependencies following + gcc: -M to output deps only, -MD to output deps while compiling (in + .d files), -MP to output phony targets, -MG to keep missing copybooks, + -MQ to Makefile-quote target ; add -fcopybook-deps to + output only copybook names instead of file paths. -fcopybook-deps + also forces -E, -foneline-deps, -MT=copybooks, disables errors on + missing copybooks and removes output on stdout + * pplex.l (cb_text_list): prevent duplicates 2024-02-19 Boris Eng diff --git a/cobc/typeck.c b/cobc/typeck.c index aa3a66bc7..1b2a5039a 100644 --- a/cobc/typeck.c +++ b/cobc/typeck.c @@ -3588,7 +3588,6 @@ check_argument_conformance (struct cb_program *program, cb_tree argument_tripple } else { arg_field = NULL; } - if (!CB_FIELD_P(param)) return; param_field = CB_FIELD_PTR(CB_VALUE(param)); /*