[Bug fortran/47915] Type declaration: Recursive specification expression not detected.
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Sep 15 17:37:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47915
Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gerhard.steinmetz.fortran@t
| |-online.de
--- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Update :
$ gfortran-7-20160911 -c pr47915.f90
$ gfortran-7-20160911 -g -O0 -Wall -fcheck=all -c pr47915.f90
pr47915.f90:1:0:
subroutine foo(a, b)
Warning: '.a' may be used uninitialized in this function
[-Wmaybe-uninitialized]
pr47915.f90:1:0:
subroutine foo(a, b)
note: '.a' was declared here
$ gfortran-6 -c pr47915.f90
$ gfortran-6 -g -O0 -Wall -fcheck=all -c pr47915.f90
pr47915.f90:1:0:
subroutine foo(a, b)
Warning: '.a' may be used uninitialized in this function
[-Wmaybe-uninitialized]
pr47915.f90:1:0:
subroutine foo(a, b)
note: '.a' was declared here
$ gfortran-5 -c pr47915.f90
$ gfortran-5 -g -O0 -Wall -fcheck=all -c pr47915.f90
pr47915.f90:1:0:
subroutine foo(a, b)
^
Warning: '.a' may be used uninitialized in this function
[-Wmaybe-uninitialized]
$ gfortran-4.9 -c pr47915.f90
$ gfortran-4.9 -g -O0 -Wall -fcheck=all -c pr47915.f90
pr47915.f90: In function 'foo':
pr47915.f90:1:0: warning: '.a' may be used uninitialized in this function
[-Wmaybe-uninitialized]
subroutine foo(a, b)
^
$
More information about the Gcc-bugs
mailing list