RESEND: PATCH: Factor common text out of the specs

Zack Weinberg zack@wolery.cumb.org
Wed Jul 5 12:24:00 GMT 2000


On Wed, Jul 05, 2000 at 08:28:53PM +0200, Toon Moene wrote:
> Zack Weinberg wrote:
> 
> > I'm resending this patch, which has received zero discussion in the
> > month since it was posted.  It factors the long runs of common text
> > out of the lang-specs files into named specs.  For the original patch
> > and a more detailed explanation, see
> > http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01342.html .
> 
> I'm very sorry to have to say that this patch cannot get my approval.
> 
> Consider the following Fortran source:
...

I just repeated your test in a tree with no changes on top of CVS, and
I get the same result.  The problem is with the recent preprocessor
changes, not the spec patch.  The new preprocessor doesn't preserve
the form of white space in the original source text.  This is harmless
and in fact a significant performance win in C, but lethal to Fortran.

I'm going to file this under "traditional mode and preprocessing
things other than C is currently broken", and yes, I am working on it.

zw


More information about the Gcc-patches mailing list