http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57127
Bug #: 57127
Summary: gfortran gives unintended warning on uninitialized
optional dummy array of undetermined size
Classification: Unclassified
Product: gcc
Version: 4.7.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57127
--- Comment #2 from AstroFloyd 2013-04-30
20:57:55 UTC ---
Hmmm, this looks very strongly like
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52370 but is not identical(?)
: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: AstroFloyd at gmail dot com
Target Milestone: ---
The following Fortran program (minimum working example) gives an erroneous
array reference out of bounds warning:
program test
implicit none
integer :: i,iarr(10)
do
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55352
Bug #: 55352
Summary: Erroneous gfortran warning of unused module variable
when variable is only used in namelist
Classification: Unclassified
Product: gcc
Version: 4.7.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55352
--- Comment #1 from AstroFloyd 2012-11-16
13:43:25 UTC ---
Created attachment 28710
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28710
Verbose output from compilation of example source file
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55352
--- Comment #5 from AstroFloyd 2012-11-18
17:53:36 UTC ---
Created attachment 28726
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28726
My adaptation of the patch in #3
This solves the problem for me, thank you very much - I'm imp