This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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 2/2] fixed infinite recursion when printing rec. nested Fortran data types


>>>>> "Christoph" == Christoph Weinmann <christoph.t.weinmann@intel.com> writes:

Christoph> 2013-08-05  Frank Penczek  <frank.penczek@intel.com>

Christoph> 	* f-typeprint.c (f_type_print_base): Include TYPE_TAG_NAME in
Christoph> 	  conditional that ends recursive descend.

Is this PR 15326?
If so it should say

	PR fortran/15326

in the ChangeLog entry.

Christoph> +      if (name_to_print == NULL)
Christoph> +          name_to_print = TYPE_TAG_NAME (type);

This has the wrong indentation.

I think this patch could use a test case.

Tom


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