Wish: __builtin_side_effect_free_p, __builtin_lvalue_p

Richard Henderson rth@redhat.com
Sun Feb 25 11:39:00 GMT 2001


On Sun, Feb 25, 2001 at 08:17:23PM +0100, Niels Möller wrote:
> What is the recommended way to check for the block-with-value feature?

Um, #ifdef __GNUC__?  It's an old extension.

Or you could do an autoconf-style compile test beforehand on

	int foo() { return ({ 1; }); }


r~



More information about the Gcc-bugs mailing list