[Bug fortran/45290] [F08] pointer initialization

2015-01-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug fortran/45290] [F08] pointer initialization

2015-01-16 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 --- Comment #18 from janus at gcc dot gnu.org --- Author: janus Date: Fri Jan 16 12:49:46 2015 New Revision: 219731 URL: https://gcc.gnu.org/viewcvs?rev=219731&root=gcc&view=rev Log: 2015-01-16 Janus Weil PR fortran/45290 * decl.c (ma

[Bug fortran/45290] [F08] pointer initialization

2014-03-15 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 --- Comment #17 from janus at gcc dot gnu.org --- (In reply to janus from comment #16) > (In reply to janus from comment #13) > > (2) We currently get a slightly inappropriate error message for: > > This can be fixed with the following patch ...

[Bug fortran/45290] [F08] pointer initialization

2014-03-15 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 --- Comment #16 from janus at gcc dot gnu.org --- (In reply to janus from comment #13) > (2) We currently get a slightly inappropriate error message for: > > implicit none > integer, target, save :: t1 > integer, pointer :: p1 => t > end This

[Bug fortran/45290] [F08] pointer initialization

2014-03-15 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 Bug 45290 depends on bug 55887, which changed state. Bug 55887 Summary: [OOP][F08] ICE with CLASS and data-target pointer association in (default) initialization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55887 What|Removed

[Bug fortran/45290] [F08] pointer initialization

2013-08-05 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 --- Comment #15 from janus at gcc dot gnu.org --- (In reply to janus from comment #13) > Just two minor leftovers: > > (1) Making global variables in a program SAVE_IMPLICIT. (Does it even make a > difference?) cf. PR 55207 (and apparently, yes,

[Bug fortran/45290] [F08] pointer initialization

2011-10-18 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #14

[Bug fortran/45290] [F08] pointer initialization

2011-02-08 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 --- Comment #13 from janus at gcc dot gnu.org 2011-02-08 23:02:56 UTC --- With r169948, this PR is basically fixed. Just two minor leftovers: (1) Making global variables in a program SAVE_IMPLICIT. (Does it even make a difference?) (2) We curren

[Bug fortran/45290] [F08] pointer initialization

2011-02-08 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 --- Comment #12 from janus at gcc dot gnu.org 2011-02-08 22:51:09 UTC --- Author: janus Date: Tue Feb 8 22:51:04 2011 New Revision: 169948 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169948 Log: 2011-02-08 Janus Weil PR fortran/

[Bug fortran/45290] [F08] pointer initialization

2011-02-06 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290 --- Comment #11 from janus at gcc dot gnu.org 2011-02-06 17:42:35 UTC --- (In reply to comment #10) > (In reply to comment #9) > > procedure(), pointer :: ptr3 => p2 > > I now believe that this is invalid (all quotes are F2008): > > R505 initia

[Bug fortran/45290] [F08] pointer initialization

2010-09-21 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2010-09-21 13:52 --- (In reply to comment #9) > procedure(), pointer :: ptr3 => p2 I now believe that this is invalid (all quotes are F2008): R505 initialization is [...] or => initial-data-target R443 initial-data-target is desi

[Bug fortran/45290] [F08] pointer initialization

2010-09-21 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2010-09-21 12:37 --- Another issue besides comment 5 is the following program (from PR 45740), which gives an ICE. Actually, I am not quite sure the example is valid as "p2"'s target is not known at compile time. module m procedure(

[Bug fortran/45290] [F08] pointer initialization

2010-08-21 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2010-08-21 16:21 --- Comment #6 is fixed by r163445, but comment #5 is still open. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45290

[Bug fortran/45290] [F08] pointer initialization

2010-08-21 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-08-21 14:51 --- Subject: Bug 45290 Author: janus Date: Sat Aug 21 14:50:57 2010 New Revision: 163445 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163445 Log: 2010-08-21 Janus Weil PR fortran/45271 PR for

[Bug fortran/45290] [F08] pointer initialization

2010-08-19 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2010-08-19 11:11 --- There are also still problems with procedure pointers: module m implicit none procedure(f1), pointer :: pp => f1 contains integer function f1() f1 = 42 end function end module use m implicit none if (pp()/=42

[Bug fortran/45290] [F08] pointer initialization

2010-08-18 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2010-08-18 22:37 --- r163356 implements pointer initialization. Leftover To-Do items: (1) ICE on module m implicit none integer, target, save :: t1 integer, pointer :: p1 => t integer, pointer :: p2 => p1! ICE end module m (

[Bug fortran/45290] [F08] pointer initialization

2010-08-18 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2010-08-18 22:32 --- Subject: Bug 45290 Author: janus Date: Wed Aug 18 22:32:22 2010 New Revision: 163356 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163356 Log: 2010-08-19 Janus Weil PR fortran/45290 * gfor

[Bug fortran/45290] [F08] pointer initialization

2010-08-16 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2010-08-16 09:37 --- (In reply to comment #2) > (In reply to comment #0) > > Note: For procedure-pointer components I was not able to find any specific > > reference to non-NULL default initialization. > > It is allowed per: > > R440 pro

[Bug fortran/45290] [F08] pointer initialization

2010-08-16 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-08-16 09:17 --- (In reply to comment #0) > Note: For procedure-pointer components I was not able to find any specific > reference to non-NULL default initialization. It is allowed per: R440 proc-component-def-stmt is PROCEDURE

[Bug fortran/45290] [F08] pointer initialization

2010-08-16 Thread domob at gcc dot gnu dot org
--- Comment #1 from domob at gcc dot gnu dot org 2010-08-16 07:34 --- Confirmed. -- domob at gcc dot gnu dot org changed: What|Removed |Added CC|