[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-25 Thread johnsonsr at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 --- Comment #9 from Seth Johnson --- Thanks guys for the fast fix and review!

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-25 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 Dominique d'Humieres changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-25 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 --- Comment #7 from dominiq at gcc dot gnu.org --- Author: dominiq Date: Sun Mar 25 11:30:24 2018 New Revision: 258843 URL: https://gcc.gnu.org/viewcvs?rev=258843&root=gcc&view=rev Log: 2018-03-25 Seth Johnson Dominique d'Humieres

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unass

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-23 Thread johnsonsr at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 --- Comment #5 from Seth Johnson --- That looks perfect, thank you for looking into this. (In reply to Dominique d'Humieres from comment #4) > Is the following patch OK? > >return false; > } > > - if (!is_c_interoperable (fptr,

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-17 Thread johnsonsr at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 --- Comment #3 from Seth Johnson --- That's correct, because those standards include TS 29113 which allows arrays to be referenced. `-std=f2008ts` also works. The problem is that the usage described is valid Fortran 2003 but is marked otherwise.

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-17 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 --- Comment #2 from Harald Anlauf --- There is no error for -std=f2008ts or -std=2018.

[Bug fortran/84924] Erroneous error in C_F_POINTER

2018-03-17 Thread johnsonsr at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84924 --- Comment #1 from Seth Johnson --- - Correction in test case: `call dellocate(` should be replaced by `deallocate(` (but this doesn't affect the behavior or test outcome - Also note that the Fortran 2003 standard itself includes a structurally