public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48426] New: [patch] Quad precision promotion
@ 2011-04-03 18:04 inform at tiker dot net
  2011-04-03 18:05 ` [Bug fortran/48426] " inform at tiker dot net
                   ` (21 more replies)
  0 siblings, 22 replies; 24+ messages in thread
From: inform at tiker dot net @ 2011-04-03 18:04 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: inform@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.


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2012-01-19 16:54 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-03 18:04 [Bug fortran/48426] New: [patch] Quad precision promotion inform at tiker dot net
2011-04-03 18:05 ` [Bug fortran/48426] " inform at tiker dot net
2011-04-03 19:25 ` kargl at gcc dot gnu.org
2011-04-03 19:50 ` inform at tiker dot net
2011-04-03 21:14   ` Jerry DeLisle
2011-04-03 20:33 ` sgk at troutmask dot apl.washington.edu
2011-04-03 21:14 ` jvdelisle at frontier dot com
2011-04-05  2:12 ` inform at tiker dot net
2011-04-05  2:13 ` inform at tiker dot net
2011-04-15 14:57 ` inform at tiker dot net
2011-04-15 15:31 ` jvdelisle at gcc dot gnu.org
2011-04-15 16:12 ` sgk at troutmask dot apl.washington.edu
2011-04-15 16:43 ` jvdelisle at gcc dot gnu.org
2011-04-15 17:00 ` sgk at troutmask dot apl.washington.edu
2011-04-15 19:49 ` inform at tiker dot net
2011-04-15 20:32 ` jvdelisle at gcc dot gnu.org
2011-11-07 19:28 ` inform at tiker dot net
2011-11-07 20:04 ` sgk at troutmask dot apl.washington.edu
2011-11-10  0:37 ` inform at tiker dot net
2012-01-16 18:28 ` kargl at gcc dot gnu.org
2012-01-16 18:29 ` kargl at gcc dot gnu.org
2012-01-18 18:50 ` kargl at gcc dot gnu.org
2012-01-19  8:55 ` burnus at gcc dot gnu.org
2012-01-19 17:11 ` kargl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).