Bandaid patch
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Aug 22 07:51:00 GMT 2005
As stated below, I've committed the patch to mainline. With
this commit (and some fixes that occurred after Jul 16 2005),
I can compile and run the FMLIB library and test programs.
--
steve
On Sat, Jul 16, 2005 at 12:41:11PM -0700, Steve Kargl wrote:
> On Sat, Jul 16, 2005 at 12:40:38PM -0700, Steve Kargl wrote:
> > I am going to commit the attached band aid to array.c
> > in 24 hours. Defining GFC_MAX_AC_EXPAND to 100 is a
> > ridiculously small value, which prevents gfortran from
> > compiling a boat load of code. In particular, I'm
> > 1 step closer to compiling fmlib. The place where
> > compilation of fmlib bombs is, I believe, an unreported
> > bug.
> >
>
> Forgot the patch.
>
> --
> Steve
> Index: array.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/fortran/array.c,v
> retrieving revision 1.18
> diff -c -p -r1.18 array.c
> *** array.c 14 Jul 2005 01:37:41 -0000 1.18
> --- array.c 16 Jul 2005 19:29:39 -0000
> *************** Software Foundation, 51 Franklin Street,
> *** 28,34 ****
> will expand to an array constructor without iterators.
> Constructors larger than this will remain in the iterator form. */
>
> ! #define GFC_MAX_AC_EXPAND 100
>
>
> /**************** Array reference matching subroutines *****************/
> --- 28,34 ----
> will expand to an array constructor without iterators.
> Constructors larger than this will remain in the iterator form. */
>
> ! #define GFC_MAX_AC_EXPAND 65536
>
>
> /**************** Array reference matching subroutines *****************/
--
Steve
More information about the Fortran
mailing list