public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Adding statement to an already defined function
@ 2010-03-01 12:36 Nikola Ikonic
  0 siblings, 0 replies; only message in thread
From: Nikola Ikonic @ 2010-03-01 12:36 UTC (permalink / raw)
  To: gcc

Hello,

I am working on modifying GCC and I would like to ask you one question.

I am trying figure out a way to add an external statement to already
generated function. Is that possible?

For example, let's say that if I want to check is function with name
"DoSomething" already generated/parsed (bottom line, does it exist).
Can I do that somehow? And if I can, is there a way to add new
statement (e.g call of some function) into to
body of "DoSomething"?

This situation could for example happen when the "DoSomething" is in
A.c file and the compiler is currently parsing B.c and it needs to
look has DoSomething been already processed in files before (in this
case A.c file).

Is that possible somehow?

Thank you in advance!

Best regards,
      Nikola

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-01 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-01 12:36 Adding statement to an already defined function Nikola Ikonic

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).