This is the mail archive of the gcc-patches@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]

Re: C Parser Cleanup [Take 2]


On Thu, May 10, 2001 at 11:53:15PM +0100, Neil Booth wrote:
> Although, that begs a question.  Isn't the only practical use of this
> && construct to initialise a value used in a "goto *ptr;" statement?

No.  For instance, the linux kernel (used to?) have something like

	static inline void foo(some args)
	{
		if (some test) {
		here:
			printk("Yikes, some test failed at %p\n", &&here);
		}
		do whatever;
	}



r~


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