[Bug fortran/39230] ASSOCIATED & undefined pointers

2018-07-11 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39230 --- Comment #8 from janus at gcc dot gnu.org --- (In reply to janus from comment #0) > Consider the following snippet: > > implicit none > integer, pointer :: p > print *,associated(p) > end > > [...] > Right now the above program simply prints

[Bug fortran/39230] ASSOCIATED & undefined pointers

2018-07-11 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39230 --- Comment #7 from janus at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #1) > I think what you want is some -fcheck=pointer option (I think there is a PR > about his). That option would initialize pointer with some bogus value, e

[Bug fortran/39230] ASSOCIATED & undefined pointers

2016-01-16 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39230 Paul Thomas changed: What|Removed |Added Assignee|pault at gcc dot gnu.org |unassigned at gcc dot gnu.org ---

[Bug fortran/39230] ASSOCIATED & undefined pointers

2016-01-16 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39230 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Assigne

[Bug fortran/39230] ASSOCIATED & undefined pointers

2009-02-18 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-02-19 07:08 --- > (ii) Once we have array descriptors that flag the status of the data, include > pointers in the club? I prefer to have simple pointers for scalars and use the descriptor only for arrays/strings/dimension(..) for pe

[Bug fortran/39230] ASSOCIATED & undefined pointers

2009-02-18 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-02-19 05:52 --- I wonder if this should not be fixed ultimately by: (i) Allowing allocatable scalars, which should allow rank 0 descriptors to take the field; and (ii) Once we have array descriptors that flag the status of the data, i

[Bug fortran/39230] ASSOCIATED & undefined pointers

2009-02-18 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-02-18 17:32 --- The other bug is PR 29616. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39230

[Bug fortran/39230] ASSOCIATED & undefined pointers

2009-02-18 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-02-18 17:28 --- > This is actually invalid Yes, but this is a requirement to the program(mer) not to the compiler. > and should probably trigger a runtime error. Yes, but only with some checking option, otherwise it really gets too