On Wed, Nov 09, 2011 at 06:09:58PM -0500, Andreas Kloeckner wrote: > Hi there, > > please find attached the patch and the Changelog entry for our work on > the fortran bug #48426. > > The attached patch implements the options > > -finteger-4-integer-8 > -freal-4-real-8 > -freal-4-real-10 > -freal-4-real-16 > -freal-8-real-4 > -freal-8-real-10 > -freal-8-real-16 > > to implement a variety of automatic type promotions. (This is particularly > helpful if one wants to quickly check whether a certain code has a bug > limiting > its precision away from full machine accuracy.) > > A similar promotion feature is available in Fujitsu compilers, see here: > > http://www.lahey.com/docs/fujitsu%20compiler%20option%20list.pdf > > (e.g. -CcR8R16) > > The implementation work on this was done by Zydrunas Gimbutas, not by me. > Zydrunas has authorized me to submit this for inclusion in gcc. Both he > and I have gone through the FSF's copyright assignment process and have > current papers for that on file. > > We tested the change by running Kahan's Fortran paranoia tests using all > supported conversions, we ran the LINPACK tests (at all supported > conversions) as well as a number of manually-written conversion tests. > > Zydrunas and Andreas
Andreas, My apologies for letting this feature/patch fall through the cracks. I have time over the next few days to review/test/ and commit this patch. Are there any changes that I need to known about? -- Steve