https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103474
--- Comment #5 from anlauf at gcc dot gnu.org ---
I am now stuck with the following code, which I believe is valid.
(It is accepted by Crayftn and rejected by Intel, but I thought it is
covered by F2018:5.4.7(5)):
program p
type t
integer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103474
--- Comment #4 from anlauf at gcc dot gnu.org ---
Another part which is needed to avoid an ice-on-valid code:
(Note F2018:5.4.7(5): A subobject of a coarray is a coarray if ...)
diff --git a/gcc/fortran/expr.cc b/gcc/fortran/expr.cc
index 69d0b5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103474
anlauf at gcc dot gnu.org changed:
What|Removed |Added
CC||anlauf at gcc dot gnu.org
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103474
--- Comment #2 from G. Steinmetz ---
Additionally :
$ cat z3.f90
program p
type t
integer :: a
end type
class(t) :: x[:]
if ( any(lcobound(x) < 1) ) stop
end
$ cat zz1.f90
program p
type t
integer :: a
end type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103474
kargl at gcc dot gnu.org changed:
What|Removed |Added
Priority|P3 |P4
Status|UNCONFI