https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71859
--- Comment #7 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Sep 30 21:46:14 2016
New Revision: 240682
URL: https://gcc.gnu.org/viewcvs?rev=240682&root=gcc&view=rev
Log:
2016-09-30 Steven G. Kargl
Backport from trunk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71859
kargl at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71859
--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Jul 28 17:48:54 2016
New Revision: 238825
URL: https://gcc.gnu.org/viewcvs?rev=238825&root=gcc&view=rev
Log:
2016-07-28 Steven G. Kargl
PR fortran/71859
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71859
--- Comment #4 from kargl at gcc dot gnu.org ---
(In reply to Gerhard Steinmetz from comment #0)
> When using the same name for a variable and a subroutine (invalid),
> experimental (--enable-checking=yes) versions 7, 6 and maybe older
> ones (not
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71859
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71859
--- Comment #2 from Gerhard Steinmetz
---
For completeness another ICE, only with dedicated option -ff2c.
$ gfortran-6 -ff2c z1.f90
z1.f90:2:0:
call s(1)
internal compiler error: in fold_convert_loc, at fold-const.c:2292
$ gfortran-7-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71859
--- Comment #1 from Gerhard Steinmetz
---
Somehow detected when being a bit more explicit :
$ cat z3.f90
program p
implicit none
real :: s = 1.0
real :: x
call s(1)
x = abs(s)
print *, x
end
subroutine s(n)
implicit none