This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, libfortran] configure cleanup
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 8 Nov 2011 20:34:30 -0800
- Subject: Re: [Patch, libfortran] configure cleanup
- References: <CAO9iq9GUiJ9sgArO6bs9YKFz=tjruECzSxWAVXO69_wqiOwXWA@mail.gmail.com>
On Mon, Nov 07, 2011 at 07:23:03PM +0200, Janne Blomqvist wrote:
> Hi,
>
> it's 2011. I think it's fairly safe to assume that, at this point, any
> target capable of supporting libgfortran also provides C89. Attached
> patch gets rid of such configure tests, and rips out unused code paths
> (which likely have never been compiled in the history of
> libgfortran..) from the library.
>
> Also, AC_HEADER_TIME is not needed anymore (autoconf manual says it's
> obsolescent, some googling suggests it was needed for Sun386/SunOS 4.1
> which GCC doesn't support anymore).
>
> Also in the patch is a minor bugfix for gf_cputime (do the division in
> double precision), and a fallback using clock() from the C standard
> library.
>
> Regtested on x86_64-unknown-linux-gnu, Ok for trunk?
>
OK.
I also think the patch is safe. I was going to test it
on my FreeBSD systems, but the build is currently broken
for other reasons.
--
Steve