http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56759
Bug #: 56759
Summary: result of __builtin_constant_p( ) is not constant
enough for __builtin_choose_expr( )
Classification: Unclassified
Product: gcc
Version: 4.8.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56759
--- Comment #1 from Cody P Schafer 2013-03-28
00:56:11 UTC ---
This also affects my ubuntu gcc install:
$ gcc constant_not_constant.c -O3 -c
constant_not_constant.c: In function ‘x’:
constant_not_constant.c:4:31: error: first argument to ‘__bu