[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-14 Thread fritzoreese at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

--- Comment #1 from Fritz Reese  ---
Created attachment 39618
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39618&action=edit
Patch for PR 77584

The attached patch fixes the issue.

2016-09-14  Fritz Reese  

PR fortran/77584

* gcc/fortran/decl.c (match_record_decl, gfc_match_decl_type_spec):
Fixes to handling of structure/record from declaration-type-spec.
* gcc/testsuite/gfortran.dg/dec_structure_15.f90: New testcase.

[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-19 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

--- Comment #2 from foreese at gcc dot gnu.org ---
Author: foreese
Date: Mon Sep 19 11:32:09 2016
New Revision: 240230

URL: https://gcc.gnu.org/viewcvs?rev=240230&root=gcc&view=rev
Log:
2016-09-19  Fritz Reese  

PR fortran/77584
* gcc/fortran/decl.c (match_record_decl, gfc_match_decl_type_spec):
Fixes to handling of structure/record from declaration-type-spec.

* gcc/testsuite/gfortran.dg/dec_structure_15.f90: New testcase.


Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-29 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2016-09-30
 Ever confirmed|0   |1

--- Comment #3 from Dominique d'Humieres  ---
Isn't this PR fixed?

[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-29 Thread fritzoreese at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

--- Comment #4 from Fritz Reese  ---
Yes, fixed in r240230, I can't change the bug status myself or I would've

https://gcc.gnu.org/ml/fortran/2016-09/msg00105.html

On Thu, Sep 29, 2016, 21:06 dominiq at lps dot ens.fr <
gcc-bugzi...@gcc.gnu.org> wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584
>
> Dominique d'Humieres  changed:
>
>What|Removed |Added
>
> 
>  Status|UNCONFIRMED |WAITING
>Last reconfirmed||2016-09-30
>  Ever confirmed|0   |1
>
> --- Comment #3 from Dominique d'Humieres  ---
> Isn't this PR fixed?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Dominique d'Humieres  ---
> Yes, fixed in r240230, I can't change the bug status myself or I would've

This is strange: if you have write access, you should be able to change the
status.

[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-30 Thread fritzoreese at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

Fritz Reese  changed:

   What|Removed |Added

 CC||fritzoreese at gmail dot com

--- Comment #6 from Fritz Reese  ---
(In reply to Dominique d'Humieres from comment #5)
> > Yes, fixed in r240230, I can't change the bug status myself or I would've
> 
> This is strange: if you have write access, you should be able to change the
> status.

Maybe it's because I created my bugzilla account before I got write access?

Is there someone I can contact to sort that out?

[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

Marek Polacek  changed:

   What|Removed |Added

 CC||mpolacek at gcc dot gnu.org

--- Comment #7 from Marek Polacek  ---
You need to use your @gnu.gcc.org account to be able to modify BZs.

[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

2016-09-30 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

--- Comment #8 from foreese at gcc dot gnu.org ---
(In reply to Marek Polacek from comment #7)
> You need to use your @gnu.gcc.org account to be able to modify BZs.

Oh, thanks. Seems obvious now that I think about it. I didn't realize such an
account was created for me.