This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fortran, patch] Remove libgfortranbegin.a
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: FX <fxcoudert at gmail dot com>
- Cc: Fortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 5 Jul 2015 09:02:58 -0700
- Subject: Re: [fortran, patch] Remove libgfortranbegin.a
- Authentication-results: sourceware.org; auth=none
- References: <39A077F9-CB55-4869-816E-3607B1CECD82 at gmail dot com>
On Sun, Jul 05, 2015 at 03:37:25PM +0200, FX wrote:
> Hi,
>
> 6 years ago, we removed the static helper library libgfortranbegin.a. Since gfortran 4.5, we don???t use it, but still provide it for backward compatibility.
>
> I???m thinking 6 years notice is enough, and we should remove it. A search for it on github and other code repositories does not indicate any real use in existing build systems, but quite a few cases of people confused by its existence and purpose.
>
> I???m saying we get rid of it. Attached patch bootstrapped and tested on x86_64-apple-darwin.
> OK to commit?
>
I agree it is time for a cleanup. OK to commit.
In fact, it may be time to refactor/rewrite parts of the codebase.
I've been looking at io.c since Gerhard has sent in a bug report for
invalid code, for example, 'open(1, status=42)'. I fixed that bug, then
started purposely trying to break IO statements. 'open(1, iomsg=42)'
currently dies with an ICE, and untangling this failure has been a fun
chase as the code dates back to r81764. I have a patch for iomsg
cooking.
--
Steve