public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Local binding DECLs
@ 2003-05-08 11:40 Stephen Biggs
  2003-05-08 22:04 ` Richard Henderson
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Biggs @ 2003-05-08 11:40 UTC (permalink / raw)
  To: GCC list

Given a set of functions such as:
void a(void)
{
	static void b(void);
	static void c(char);
	static char d[20];

	b();
	c(d[0]);
}

b() {}
c(char aa) {}

... when TARGET_ASM_FUNCTION_PROLOGUE is called on 'a', is there any way
to access the DECLs of b, c, and d, and only those, that is, the DECLs
of all the forward declarations in the scope of this function?  I tried
searching through the list given by getdecls but came up with the DECLs
at the same level as a, that is, the GLOBAL binding level, and not
locally subordinate to a.

Is this even possible at this stage?

Thanks for any help.



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

end of thread, other threads:[~2003-05-14 18:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-08 11:40 Local binding DECLs Stephen Biggs
2003-05-08 22:04 ` Richard Henderson
2003-05-11  7:03   ` Stephen Biggs
2003-05-12  1:15     ` Richard Henderson
2003-05-12  6:41       ` Stephen Biggs
2003-05-12  7:30         ` Daniel Berlin
2003-05-12 10:32           ` Stephen Biggs
2003-05-12 12:54           ` Stephen Biggs
2003-05-12 17:15         ` Richard Henderson
     [not found]         ` <jm1xz33cu5.fsf@desire.geoffk.org>
2003-05-13  8:45           ` Stephen Biggs
2003-05-14 18:31             ` Geoff Keating

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