[Bug fortran/79685] [5/6/7 Regression] ICE on valid code in gfc_match_structur_constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79685 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org Known to fail||4.7.4, 5.4.1, 6.3.0 --- Comment #3 from janus at gcc dot gnu.org --- Slightly reduced test case: module omega_color implicit none type omega_color_factor integer :: i end type end module module foo use omega_color, OCF => omega_color_factor implicit none type(OCF) :: table_color_factors data table_color_factors / OCF(1) / end module
[Bug fortran/79685] [5/6/7 Regression] ICE on valid code in gfc_match_structur_constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79685 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|--- |5.5
[Bug fortran/79685] [5/6/7 Regression] ICE on valid code in gfc_match_structur_constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79685 Dominique d'Humieres changed: What|Removed |Added Blocks||33056 --- Comment #2 from Dominique d'Humieres --- Workaround --- pr79685.f90 2017-02-23 11:21:32.0 +0100 +++ pr79685_db.f90 2017-02-23 14:20:59.0 +0100 @@ -17,9 +17,9 @@ module foo private integer, parameter :: n_cfactors = 1 - type(OCF), dimension(n_cfactors), save, protected :: table_color_factors real, parameter, private :: color_factor_01 = +1.0 - data table_color_factors( 1) / OCF(1,1,color_factor_01) / + type(OCF), dimension(n_cfactors), save, protected :: table_color_factors & + = OCF(1,1,color_factor_01) end module foo I am pretty sure that there is(are) (a) related PR(s), but I cannot find it(them). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33056 [Bug 33056] [Meta-bug] Data - statement related bugs
[Bug fortran/79685] [5/6/7 Regression] ICE on valid code in gfc_match_structur_constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79685 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-02-23 CC||marxin at gcc dot gnu.org Summary|ICE on valid code in|[5/6/7 Regression] ICE on |gfc_match_structur_construc |valid code in |tor |gfc_match_structur_construc ||tor Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- Confirmed, started with GCC 4.7.0.