------- Comment #1 from tobi at gcc dot gnu dot org 2006-12-17 20:34 ------- I couldn't reproduce this, and Tobias Burnus thinks it coudl be an issue in his tree. tobias-schluters-computer:~/src/pr/30228 tobi$ cat t.f90 type pt integer, pointer :: p(:) end type pt type(pt), pointer :: t(:) integer i i = 1 allocate (t(1)) allocate (t(1)%p(0)) deallocate(t(1)%p(0)) end tobias-schluters-computer:~/src/pr/30228 tobi$ ~/src/trunk2/build/gcc/f951 t.f90 t.f90:9.12:
deallocate(t(1)%p(0)) 1 Error: Expression in DEALLOCATE statement at (1) must be ALLOCATABLE or a POINTER Execution times (seconds) parser : 0.01 (100%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall 111 kB (14%) ggc TOTAL : 0.01 0.01 0.01 822 kB Extra diagnostic checks enabled; compiler may run slowly. Configure with --disable-checking to disable checks. tobias-schluters-computer:~/src/pr/30228 tobi$ -- tobi at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tobi at gcc dot gnu dot org Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30228