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 v2 02/10] type: add c99 variable length array support


>>>>> "Sanimir" == Agovic, Sanimir <sanimir.agovic@intel.com> writes:

Sanimir> In the prototype below I omit any call to copy_type_recursive,
Sanimir> it works by selective re-constructing array and range types. As
Sanimir> c99 vla are quite restrictive this works, but languages with
Sanimir> less restrictive vla implementation (see Fortran vla branch)
Sanimir> need to deep copy the type. Comments are welcome.

For the Fortran changes you may want to introduce a new variant of
copy_type_recursive that just copies the bits you need, and not all the
extraneous stuff like strings.

Tom


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