Local binding DECLs

Richard Henderson rth@redhat.com
Mon May 12 01:15:00 GMT 2003


On Sun, May 11, 2003 at 10:04:20AM +0300, Stephen Biggs wrote:
> Ok... is there ANY way to find out if the FUNCTION_DECL I am handed at
> any time (preferably in ENCODE_SECTION) is declared in a function block
> as opposed to globally?

*Declared*?  I.e. to distinguish

	extern void foo();
	void bar() { foo(); }

from 

	void bar() {
	  extern void foo();
	  foo();
	}

Absolutely not.  That question doesn't even make sense.


r~



More information about the Gcc mailing list