------- Comment #1 from kargl at gcc dot gnu dot org  2009-01-08 03:24 -------
Removing the ISO C Binding stuff gives

program sizetest
   implicit none
   integer, parameter :: ik1 = selected_int_kind(2)
   TYPE vehicle_t1
      INTEGER, DIMENSION(:), ALLOCATABLE :: sensors
   END TYPE vehicle_t1
   type(vehicle_t1) gfortran_bug_workaround
   integer i
   i = size(transfer(vehicle_t1(NULL()),[0_ik1]))
end program sizetest

This code compiles with 4.2.5.  It has an ICE for 4.3.3 and 4.4.0, so
it's a regression.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sgk at troutmask dot apl dot
                   |                            |washington dot edu
      Known to fail|                            |4.4.0 4.3.3
      Known to work|                            |4.2.5
           Priority|P3                          |P4


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

Reply via email to