This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR29539 and PR29634 - derived_types without a proc_name causing an ICE.


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]