http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49813

--- Comment #43 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-26 
00:26:26 UTC ---
(In reply to comment #42)
> Seems like we should add BUILT_IN_ISINF and its variants to
> builtin_valid_in_constant_expr_p.

Actually, we seem to ignore the arguments when a function satisfies that
function, which isn't what we want.  Probably
morally_constexpr_builtin_function_p should be rewritten to just have an
enumeration of suitable builtins, and then move into builtins.c with a
different name, right after is_inexpensive_builtin.

Reply via email to