[Bug fortran/57456] [OOP] CLASS + CHARACTER ALLOCATE with typespec: For arrays, the typespec is ignored

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Thu Jun 27 21:35:00 GMT 2013


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-06-27
     Ever confirmed|0                           |1

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Is not this PR supposed to have been fixed (partially) by revision 199528?

Revision 199528

Author:    burnus
Date:    Fri May 31 09:41:53 2013 UTC (3 weeks, 6 days ago)
Changed paths:    6
Log Message:    
2013-05-31  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57456
        * trans-array.c (gfc_array_init_size): Use passed type spec,
        when available.
        (gfc_array_allocate): Pass typespec on.
        * trans-array.h (gfc_array_allocate): Update prototype.
        * trans-stmt.c (gfc_trans_allocate): Pass typespec on.

2013-05-31  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57456
        * gfortran.dg/class_array_17.f90: New.

Note that the problem in comment #2 is still there at revision 200486.



More information about the Gcc-bugs mailing list