This is the mail archive of the gcc-bugs@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: Wish: __builtin_side_effect_free_p, __builtin_lvalue_p


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~


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