------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14 19:26 ------- The problem is the __builtin_constant_p is delayed for evalutation until optimizations are run but __builtin_choose_expr needs an answer right away.
What we could do is for when processing the first argument of __builtin_choose_expr, say we are not in a function. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 GCC build triplet|i686-pc-cygwin | GCC host triplet|i686-pc-cygwin | GCC target triplet|arm-unknown-elf | Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2005-01-14 19:26:10 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19449