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

Ira Rosen IRAR@il.ibm.com
Thu Jan 13 10:01:00 GMT 2005





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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fortran.diff
Type: application/octet-stream
Size: 612 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050113/5a09aa02/attachment.obj>


More information about the Fortran mailing list