[patch,fortran] Revamp type enumerators
Thomas Koenig
tkoenig@netcologne.de
Mon Oct 18 04:48:00 GMT 2010
Am Sonntag, den 17.10.2010, 07:39 -0700 schrieb Jerry DeLisle:
> On 10/17/2010 07:11 AM, Daniel Franke wrote:
> > Wouldn't it be sufficient to re-order the BT_* to match the GFC_DTYPE_*?
> > Only BT_CHARACTER is out of order, BT_CLASS and on only add more identfiers.
> > So, shouldn't this definition work, as in not breaking anything?
> >
> > + { BT_UNKNOWN = 0, BT_INTEGER, BT_LOGICAL, BT_REAL, BT_COMPLEX,
> > + BT_DERIVED, BT_CHARACTER, BT_CLASS, BT_PROCEDURE, BT_HOLLERITH, BT_VOID }
> >
> Possibly, but I would want to test. One way to test would be to copy the before
> patch libraries into the after patch build directory and run the testsuite.
> Regardless, this is a fairly intrusive patch even though mostly mechanical.
> Anyone else have any opinions?
Alternatively, we can also not apply the patch in the libgfortran source
directory and fool make by doing a 'touch *.o' in the libgfortran build
directory, then run the testsuite. This should catch everything.
Thomas
More information about the Fortran
mailing list