This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38763] Yet another TRANSFER ICE
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2009 03:24:31 -0000
- Subject: [Bug fortran/38763] Yet another TRANSFER ICE
- References: <bug-38763-10110@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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