This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR fortran/87919 patch for -fno-dec-structure
- From: Mark Eggleston <mark dot eggleston at codethink dot co dot uk>
- To: Fritz Reese <fritzoreese at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>
- Cc: fortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Jeff Law <law at redhat dot com>
- Date: Mon, 3 Dec 2018 15:26:28 +0000
- Subject: Re: PR fortran/87919 patch for -fno-dec-structure
- References: <686ba917-27d4-451b-a0de-b28074166f2c@codethink.co.uk> <20181107152216.GD11625@tucnak> <CAE4aFA=KCh8fWoXPCNyYouB_N4VvwbKOBUCBiSkFs4EV9j3Tfw@mail.gmail.com> <20181107223230.GI11625@tucnak> <CAE4aFAmGo1v1Xe3z05qnweoJkgJiPZ_aL0=zj7eOiVXwhzOncw@mail.gmail.com> <20181108175357.GR11625@tucnak> <CAE4aFAn_WrFzWco6V5kZJvW19ZgpEqyiGaw8j36n5wX34jW0gA@mail.gmail.com>
On 12/11/2018 20:28, Fritz Reese wrote:
Attached is the latest version, which builds and regtests cleanly on
x86_64-redhat-linux. OK for trunk, 7-branch, and 8-branch?
I'm currently using this patch (pending it being committed) and have
some pending patches that use it.
I can use the old method of setting dec options for the time being and
PR fortran/87919 will have to be modified accordingly.
I note that in gcc/fortran/options the comment preceding
set_default_std_flags it says:
"Keep in sync with libgfortran/runtime/compile_options.c
(init_compile_options)."
and in libgfortran/runtime/compile_options.c preceding
init_compile_options it says:
"Keep in sync with gcc/fortran/options.c (gfc_init_options)."
I think this should have (set_default_std_flags) instead of
(gfc_init_options) and they are not in sync.
Mark
Fritz
--
https://www.codethink.co.uk/privacy.html