fortran fe housecleaning

Richard Henderson rth@twiddle.net
Wed Oct 17 15:42:00 GMT 2001


If I remember the history correctly, the parser for g77 originally
came from f2c and was adapted, fixed, etc to work within gcc.

Whatever the actual history, there were conditional compilation
directives for building the front end in gcc, or outside gcc;
directives for building with gcc 2.7 or gcc 2.8; directives to
include or not include include file processing.

I.e. clutter.  Some 7000 lines of it.  They're dead now.

If I've done things correctly, there should be zero difference
to an f771 binary that doesn't contain debug info (since line
numbers changed).

Bootstrapped on i686-linux.


r~


        * com.h: Remove FFECOM_targetCURRENT, FFECOM_ONEPASS, BUILT_FOR_270,
        BUILT_FOR_280, FFECOM_GCC_INCLUDE, all derivitive defines, and all
        related conditional compilation directives.
        * bad.c, bld.c, bld.h, com.c, equiv.c, equiv.h, global.h, intdoc.c,
        intrin.c, intrin.h, lex.c, parse.c, sta.c, std.c, ste.c, ste.h, stt.c,
        stt.h, stw.h, symbol.c, symbol.h, target.h, top.c: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d-cleanup.bz2
Type: application/x-bzip2
Size: 47544 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20011017/fd9096c7/attachment.bz2>


More information about the Gcc-patches mailing list