[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #21 from Thomas Koenig --- (In reply to Thomas Koenig from comment #19) > Comment on attachment 44718 [details] > Affected module and example main program > > The only way at the moment would be to change > > program testprog > >

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|tkoenig at gcc

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #19 from Thomas Koenig --- Comment on attachment 44718 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44718 Affected module and example main program The only way at the moment would be to change program testprog use

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #18 from Thomas Koenig --- The quadratic behavior is gone, but the very large stack usage is not fixed yet. Looking further.

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #17 from Thomas Koenig --- Author: tkoenig Date: Sun Apr 14 12:27:44 2019 New Revision: 270352 URL: https://gcc.gnu.org/viewcvs?rev=270352=gcc=rev Log: 2019-04-14 Thomas Koenig PR fortran/87352 Backport from

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #16 from Thomas Koenig --- Author: tkoenig Date: Sun Apr 14 12:17:42 2019 New Revision: 270351 URL: https://gcc.gnu.org/viewcvs?rev=270351=gcc=rev Log: 2019-04-14 Thomas Koenig PR fortran/87352 Backport from

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-04-06 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #15 from Thomas Koenig --- Author: tkoenig Date: Sat Apr 6 22:10:28 2019 New Revision: 270184 URL: https://gcc.gnu.org/viewcvs?rev=270184=gcc=rev Log: 2019-04-06 Thomas Koenig PR fortran/87352 * gfortran.h

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-31 Thread jeremy at jeremysanders dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #14 from Jeremy Sanders --- Created attachment 46064 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46064=edit Patch to instrument gfortran for test case

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-31 Thread jeremy at jeremysanders dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #13 from Jeremy Sanders --- Created attachment 46063 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46063=edit log (minor edits) from instrumentation patch

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-31 Thread jeremy at jeremysanders dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #12 from Jeremy Sanders --- Thomas - unfortunately I don't have a copy of what I did. I think reverting this patch fixes the problem though: https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/fortran/resolve.c?r1=254427=254426=254427 Sorry -

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-31 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-31 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #11 from Thomas Koenig --- (In reply to Thomas Koenig from comment #10) > This patch > > Index: class.c > === > --- class.c (Revision 269895) > +++ class.c

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-31 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #10 from Thomas Koenig --- This patch Index: class.c === --- class.c (Revision 269895) +++ class.c (Arbeitskopie) @@ -1031,11 +1031,13 @@ finalize_component

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-31 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #9 from Thomas Koenig --- I think this is a high-priority bug that we should try to fix before the GCC 9 release. Some discussion here: https://gcc.gnu.org/ml/fortran/2019-03/msg00124.html Jeremy, you mentioned that you commented

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-21 Thread jeremy at jeremysanders dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #8 from Jeremy Sanders --- Created attachment 46003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46003=edit Much smaller testcase. Switch 73/74 to see the difference.

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-21 Thread jeremy at jeremysanders dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #7 from Jeremy Sanders --- Created attachment 46002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46002=edit Tiny patch to fix testcase

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2019-03-21 Thread jeremy at jeremysanders dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #6 from Jeremy Sanders --- I think I have worked out where the problem lies. The code contains fixed-sized arrays of types containing allocatable arrays and other nested types with allocatable arrays. If I switch the fixed-sized

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2018-11-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2018-10-27 Thread jeremy at jeremysanders dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #4 from Jeremy Sanders --- Janne: This problem is also present on version 7, whereas the other bug is new in 8. There may be a relation, however.

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2018-10-26 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 Janne Blomqvist changed: What|Removed |Added CC||jb at gcc dot gnu.org --- Comment #3

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2018-09-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 --- Comment #2 from Thomas Koenig --- (In reply to Thomas Koenig from comment #1) > so we are generating a factor of 15 more code. I mean 150.

[Bug fortran/87352] [7/8/9 Regression] Large stack usage with new gfortran

2018-09-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87352 Thomas Koenig changed: What|Removed |Added Keywords||compile-time-hog, |