Opened 10 years ago
Closed 10 years ago
#719 closed defect (fixed)
Workaround for gfortran 4.9.2 regression
Reported by: | kilian | Owned by: | kilian |
---|---|---|---|
Priority: | P0 | Milestone: | v2.2.6 |
Component: | core | Version: | 2.2.5 |
Severity: | minor | Keywords: | |
Cc: |
Description
There is code in syntax_rules.f90 that causes an ICE in gfortran 4.9.2, but not in earlier versions. Here is a reduction:
module string_pairs type :: string_t character, dimension(:), allocatable :: chars end type string_t type :: string_pair_t type(string_t), dimension(2) :: pair end type string_pair_t contains subroutine proc (arg) class(string_pair_t), intent(in) :: arg end subroutine proc end module string_pairs
If there's no compiler fix, I'll do a workaround (simply eliminate the dimension(2) string array).
Note: See
TracTickets for help on using
tickets.
I will post this on bugzilla, but please do a workaround as gfortran 4.9.3 is not yet out and people might use this specific compiler.