This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gfortran] [patch] Re: Fwd: gfortran doesn't call targetm.init_builtins()





Bootstrapped and tested (Spec2000) on ppc-darwin.

O.K. for mainline?

Thanks,
Ira

Changelog entry:

2005-01-13  Ira Rosen  <irar@il.ibm.com>

        * fortran/f95-lang.c (gfc_init_builtin_functions): Call
        targetm.init_builtins.

Patch:
(See attached file: fortran.diff)

Steven Bosscher <stevenb@suse.de> wrote on 12/01/2005 17:42:30:

> On Wednesday 12 January 2005 16:40, Andrew Pinski wrote:
> > > Any reason why there is no call to targetm.init_builtins() for
Fortran?
> > > (For C/C++ it is called in c-common.c  c_common_nodes_and_builtins()
> > > and
> > > for Ada in  ada/utils.c gnat_install_builtins ()).
> > >
> > > Is it O.K. to add it as following in fortran/f95-lang.c:
>
> If you test the patch and give it a ChangeLog, this is of course OK ;-)
>
> Gr.
> Steven
>

Attachment: fortran.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]