http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48426
Summary: [patch] Quad precision promotion Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: inf...@tiker.net The attached patch implements the options -finteger4-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) I submitted this patch before, but it seems to have gotten lost in Bugzilla. The implementation work on this was done by Zydrunas Gimbutas, not by me. Zydrunas has authorized me to submit this for inclusion in gcc.