This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Local binding DECLs


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]