[PATCH Fortran] rename gfc_warning_cmdline to gfc_warning_now_2

Tobias Burnus burnus@net-b.de
Fri Oct 17 06:06:00 GMT 2014


Manuel López-Ibáñez wrote:
> This patch is mostly cleanups, sorry for the churn. The next one will
> be far more interesting.
>
> Boot&regtested on x86_64-linux-gnu.
> OK?

Looks good to me. Thanks!

Tobias

> gcc/fortran/ChangeLog:
> 2014-10-16  Manuel López-Ibáñez  <manu@gcc.gnu.org>
>
>      PR fortran/44054
>      * gfortran.h (gfc_warning_cmdline): Rename as gfc_warning_now_2.
>      (gfc_error_cmdline): Rename as gfc_error_now_2.
>      * error.c (gfc_diagnostic_build_locus_prefix): Remove trailing space.
>      (gfc_diagnostic_starter): Add space between locus and prefix.
>      (gfc_warning_now_2): Renamed from gfc_warning_cmdline.
>      (gfc_error_now_2): Renamed from gfc_error_cmdline.
>      * scanner.c (add_path_to_list): Use gfc_warning_now_2.
>      (load_line): Likewise.
>      (load_file): Likewise.
>      * options.c (gfc_post_options): Update all renamed functions.



More information about the Fortran mailing list