[patch, libgfortran] Fix warning about mismatched type declarations.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[patch, libgfortran] Fix warning about mismatched type declarations.

jerry DeLisle-3
All,

The subject patch fixes the declaration for the vlist argument of the
formatted_dtio function pointer definition which currently gives a
warnings during compilation for mismatched types.

Regression tested on x86_64-pc-linux.

OK for trunk?

Regards,

Jerry

2018-09-01  Jerry DeLisle  <[hidden email]>

        * io/io.h: Change declaration of vlist type to
        gfc_full_array_i4 to eliminate warning for mismatched type.
        * io/format.c ((parse_format_list): Use gfc_full_array_i4.
        * io/io.h: Use gfc_full_array_i4.

submit.diff (1K) Download Attachment