[Bug c++/85113] [7/8 Regression] ICE with __builtin_constant_p
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 3 19:14:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85113
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr 3 19:14:03 2018
New Revision: 259053
URL: https://gcc.gnu.org/viewcvs?rev=259053&root=gcc&view=rev
Log:
PR c++/85113 - ICE with constexpr and __builtin_constant_p.
* constexpr.c (cxx_eval_builtin_function_call): Only defer
__builtin_constant_p if ctx->quiet.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/builtin12.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list