gcc/fortran/ChangeLog
PR fortran/96947
* trans-stmt.c (gfc_trans_fail_image): caf_fail_image
expects no argument.
gcc/testsuite/ChangeLog
* gfortran.dg/coarray_fail_st.f90: Adjust test.
{
if (flag_coarray == GFC_FCOARRAY_LIB)
return build_call_expr_loc (input_location,
- gfor_fndecl_caf_fail_image, 1,
- build_int_cst (pchar_type_node, 0));
+ gfor_fndecl_caf_fail_image, 0);
else
{
const char *name = gfc_get_string (PREFIX ("exit_i%d"), 4);
end program fail_statement
-! { dg-final { scan-tree-dump-times "_gfortran_caf_fail_image \\\(0B\\\);" 1 "original" } }
+! { dg-final { scan-tree-dump-times "_gfortran_caf_fail_image \\\(\\\);" 1 "original" } }