[Patch, fortran] PR29539 and PR29634 - derived_types without a proc_name causing an ICE.
François-Xavier Coudert
fxcoudert@gmail.com
Mon Nov 6 08:39:00 GMT 2006
> 2006-10-31 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/29539
> PR fortran/29634
> * decl.c (variable_decl): Add test for presence of proc_name.
> * error.c (gfc_error_flag_test): New function.
> * gfortran.h : Prototype for gfc_error_flag_test.
OK for mainline, 4.2 and 4.1 with usual conditions. I think you're
missing a ChangeLog bit for the following:
*************** ok:
*** 2384,2390 ****
break;
}
! gfc_error ("Syntax error in data declaration at %C");
m = MATCH_ERROR;
gfc_free_data_all (gfc_current_ns);
--- 2385,2392 ----
break;
}
! if (gfc_error_flag_test () == 0)
! gfc_error ("Syntax error in data declaration at %C");
m = MATCH_ERROR;
gfc_free_data_all (gfc_current_ns);
More information about the Fortran
mailing list