public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Basile Starynkevitch <basile@starynkevitch.net>
To: Aspertame Man <AspertameMan@att.net>
Cc: gcc@gnu.org
Subject: Re: A possible super feature to add to gcc
Date: Sun, 05 Dec 2010 20:41:00 -0000	[thread overview]
Message-ID: <20101205214052.7e0afac0.basile@starynkevitch.net> (raw)
In-Reply-To: <1291581040.2886.6.camel@netbook>

On Sun, 05 Dec 2010 14:30:40 -0600
Aspertame Man <AspertameMan@att.net> wrote:

> 
>  Back in the 1970's when we ran fortran on an IBM machine we had this
>  really powerful command called CALL FDUMP that if inserted into a
>  program would send the names and values of every variable, at the time
>  of its call, to a printer or file. In my opinion this was much more
>  useful at times than a symbolic debugger, in scientific number crunching
>  applications.
>  
>   If gcc does not have a similar function call I feel there would be
>  people using gcc in the scientific community that very well might
>  appreciate CALL FDUMP being resurrected. 

You probably are thinking of a new builtin or intrinsic function.
It could be interesting, but it probably is not of general interest to
the entire GCC community (which these days is quite conservative on the
language extensions it accept).

That could be an interesting project for a GCC plugin or a GCC MELT
(see www.gcc-melt.org or http://gcc.gnu.org/wiki/MELT for more)
extension. Maybe your company could fund someone (perhaps starting with
a very good intern interested) to do such work. I would imagine that it
could take a few months (at least for a person not extremly familiar
with GCC internals). 

If you fund an intern to explore doing the work using GCC MELT, I would
be delighted to help him on the MELT specific.

Cheers.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***

  reply	other threads:[~2010-12-05 20:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 20:30 Aspertame Man
2010-12-05 20:41 ` Basile Starynkevitch [this message]
2010-12-05 23:04 ` Joern Rennecke
2010-12-06 11:49   ` Aspertame Man
2010-12-06 11:52     ` Richard Kenner
2010-12-06 12:20     ` Andreas Schwab
2010-12-06 16:44 ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101205214052.7e0afac0.basile@starynkevitch.net \
    --to=basile@starynkevitch.net \
    --cc=AspertameMan@att.net \
    --cc=gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).