--- Comment #5 from burnus at gcc dot gnu dot org 2010-09-06 17:55 ---
More failures:
use iso_fortran_env
integer :: i
print *, shape(real_kinds(1)) ! should be rejected (scalar)
i = real_kinds(1) ! ICE
end
Thus, the FE has problems if one takes a REF of an EXPR_ARRAY, i.
--- Comment #4 from burnus at gcc dot gnu dot org 2010-09-06 14:52 ---
Created an attachment (id=21712)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21712&action=view)
New draft patch
New draft patch.
New: Documentation added; "REAL_KINDS" and "REAL_KINDS(1)" works now.
TODO
-
--- Comment #3 from burnus at gcc dot gnu dot org 2010-07-07 15:24 ---
See PR 44856 for the reason why it fails for some expressions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40571
--- Comment #2 from burnus at gcc dot gnu dot org 2010-07-07 15:20 ---
Created an attachment (id=21126)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21126&action=view)
Test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40571
--- Comment #1 from burnus at gcc dot gnu dot org 2010-07-07 10:09 ---
Created an attachment (id=21122)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21122&action=view)
Draft patch for kinds
Some constants such as GFC_STAT_STOPPED_IMAGE have been added as part of the
coarray work.
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40571
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
OtherBugsDependingO||39627
nThis||