This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for temporary allocation in spread


Thomas Koenig wrote:
> Regression-test on mainline tomorrow.  OK if this passes?

Yes, except ...

> +   if (rrank > 7)
> +     runtime_error ("return rank too large in spread()");

you should check against GFC_MAX_DIMENSIONS

- Tobi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]