http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51208



Dominique d'Humieres <dominiq at lps dot ens.fr> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |NEW

   Last reconfirmed|                            |2013-01-07

     Ever Confirmed|0                           |1



--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2013-01-07 
23:16:13 UTC ---

(In reply to comment #2)

> Or extremely complicated:

>

>   integer, pointer :: ptr

>   allocate (ptr, stat=f())

> contains

>   function f()

>     integer, pointer :: f

>     f => ptr

>   end function

> end

>

> (Recall that a pointer-function result is a variable in Fortran 2008.)



At revision 194996, I get



  allocate (ptr, stat=f())

                       1

Error: Syntax error in ALLOCATE statement at (1)



Is this another bug or is the error correct?

Reply via email to