[patch, gcc doc + fortran] Make -Ofast honor -fmax-stack-var-size

Thomas Koenig tkoenig@netcologne.de
Fri Aug 4 19:32:00 GMT 2017


Am 04.08.2017 um 14:09 schrieb Thomas Koenig:
> Hello world,
> 
> the attached patch

This time, really attached, even with ChangeLog!

Regards

	Thomas

2017-08-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/68829
         * doc/invoke.texi: Document change in behvaior for -Ofast for
         Fortran.

2017-08-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/68829
         PR fortran/81701
         * options.c: Make -Ofast honor -fmax-stack-var-size.
         * invoke.texi: Document change.

2017-08-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/68829
         PR fortran/81701
         * gfortran.dg/o_fast_stacksize.90:  New test.


>makes -Ofast honor -fmax-stack-var-size, and adjusts
> the documentation in the gcc and fortran directories accordingly.
> This is done to alleviate PR 68829, to make it possible to run -Ofast
> with less stack usage.  I have also taken the opportunity to make
> it a bit clearer what -fstack-arrays actually does.
> 
> I intend to close PR 68829 once this is committed.
> 
> Regression-tested, plus doc changes tested with "make pdf" and
> "make dvi".
> 
> OK for trunk for
> 
> - the fortran subdirectory changes
> - the gcc doc changes (if the one above is approved)
> 
> ?
> 
> Regards
> 
>      Thomas
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p2.diff
Type: text/x-patch
Size: 2351 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170804/0316b92d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o_fast_stacksize.f90
Type: text/x-fortran
Size: 403 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170804/0316b92d/attachment-0001.bin>


More information about the Fortran mailing list