On 17/12/2019 17:06, Steve Kargl wrote:
On Tue, Dec 17, 2019 at 03:41:41PM +0000, Mark Eggleston wrote:
gcc/fortran/ChangeLog

      Mark Eggleston  <mark.eggles...@codethink.com>

      PR fortran/92896
      * array.c (walk_array_constructor): Replace call to cfg_convert_type
s/cfg_convert_type/gfc_convert_type

      with call to gfc_convert_type_warn with new argument set to true.
      (check_element_type): Replace call to cfg_convert_type with call to
      gfc_convert_type_warn with new argument set to true.
      * gfortran.h: Add argument "array" to gfc_convert_type_warn default
      value set to false.
Do all current uses of gfc_convert_type_warn need to be updated
to account for the new parameter?  That is, doesn't this introduce
a mismatch in the prototype and existing code?

I used a default value so all existing calls remain as they are and default to false. So no mismatch.

regards Mark

--
https://www.codethink.co.uk/privacy.html

Reply via email to