Bandaid patch
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Jul 16 19:41:00 GMT 2005
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
-------------- next part --------------
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 *****************/
More information about the Fortran
mailing list