------- Comment #18 from pault at gcc dot gnu dot org  2010-02-14 19:25 -------
(In reply to comment #15)
> Created an attachment (id=19824)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19824&action=view) [edit]
> Second  test giving a segmentation fault with the patch applied to fortran-dev
> 

At line 5520:

      if (!sym->attr.pointer
            && sym->as
            && sym->as->type != AS_ASSUMED_SHAPE 
            && !sym->attr.allocatable)

where the test for sym->as has been added, does the job.

I have included this in the fix to PR39632/3, so that the merge goes OK.

Cheers

Paul


-- 


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

Reply via email to