https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120417
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #6 from Sam James <sjames at gcc dot gnu.org> --- ``` module->statement = STMT_CALL; cob_glob_ptr->cob_call_params = 0; cob_glob_ptr->cob_stmt_exception = 0; b_2 = callee (); /* oops */ module->statement = STMT_CALL; module->module_stmt = 0x00100005; cob_procedure_params[0] = NULL; cob_procedure_params[1] = NULL; cob_procedure_params[2] = NULL; cob_procedure_params[3] = NULL; cob_glob_ptr->cob_call_params = 4; cob_glob_ptr->cob_stmt_exception = 0; b_2 = callee (NULL, NULL, NULL, NULL); ``` Can you give me a testcase without the UB here please (i.e. callee being called with no arguments, when it takes 4)?