https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97176
--- Comment #3 from Jeremy Sanders ---
I'm not using -fno-automatic out of choice, unfortunately (I'd never use it
otherwise). I maintaining part of a large software package which has this
switched on (for unclear reasons). It will require some t
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jeremy at jeremysanders dot net
Target Milestone: ---
Created attachment 49261
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49261&action=edit
Test case
Functions re
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&action=edit
Patch to instrument gfortran for test case
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&action=edit
log (minor edits) from instrumentation patch
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&r2=254426&pathrev=25442
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&action=edit
Much smaller testcase. Switch 73/74 to see the difference.
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&action=edit
Tiny patch to fix testcase
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 decla
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.
Assignee: unassigned at gcc dot gnu.org
Reporter: jeremy at jeremysanders dot net
Target Milestone: ---
Created attachment 44718
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44718&action=edit
Affected module and example main program
With gcc/gfortran 7.3 and 8.2, c
10 matches
Mail list logo