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]

Re: [Patch, libfortran] configure cleanup


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


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