https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
janus at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|--- |4.9.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #13 from janus at gcc dot gnu.org ---
Author: janus
Date: Tue Aug 6 08:20:17 2013
New Revision: 201521
URL: http://gcc.gnu.org/viewcvs?rev=201521root=gccview=rev
Log:
2013-08-06 Janus Weil ja...@gcc.gnu.org
PR fortran/57306
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
janus at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #15 from Andrew Benson abensonca at gmail dot com ---
Thanks for fixing!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #12 from janus at gcc dot gnu.org ---
(In reply to Tobias Burnus from comment #10)
Putting this inside a subroutine, one gets:
class(c), pointer :: px = x
1
Error: Pointer initialization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #10 from Tobias Burnus burnus at gcc dot gnu.org ---
Putting this inside a subroutine, one gets:
class(c), pointer :: px = x
1
Error: Pointer initialization target at (1) must have the SAVE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #11 from janus at gcc dot gnu.org ---
(In reply to Tobias Burnus from comment #10)
Putting this inside a subroutine, one gets:
class(c), pointer :: px = x
1
Error: Pointer initialization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #6 from janus at gcc dot gnu.org ---
An updated patch was posted here:
http://gcc.gnu.org/ml/fortran/2013-07/msg00135.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #7 from janus at gcc dot gnu.org ---
Here is a reduced version of the test case from
http://gcc.gnu.org/ml/fortran/2013-07/msg00103.html, which for some reason
still ICEs:
type :: c
end type c
type(c), target :: x
class(c),
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #8 from janus at gcc dot gnu.org ---
(In reply to janus from comment #7)
Here is a reduced version of the test case from
http://gcc.gnu.org/ml/fortran/2013-07/msg00103.html, which for some reason
still ICEs:
type :: c
end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
--- Comment #9 from janus at gcc dot gnu.org ---
(In reply to janus from comment #8)
Giving 'x' the SAVE attribute makes both versions compile without error. I
guess the original version is still valid, since 'x' should implicitly get
the SAVE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57306
janus at gcc dot gnu.org changed:
What|Removed |Added
Summary|[OOP] ICE on valid with |[OOP] [F08] ICE on valid
12 matches
Mail list logo