[Bug c++/65656] __builtin_constant_p should always be constexpr
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 28 18:38:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65656
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|NEW |WAITING
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=54021
--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
See also bug 54021 for a similar problem report. That bug has been resolved
and the test case submitted here also compiles and runs to completion with the
same output as with Clang (at both -O0 and -O2).
I can reproduce the problem described in comment #6 but it seems independent of
the bug reported here. Are there any objections to resolving this bug as
suggested in comment #3 and opening a new one for the other issue?
More information about the Gcc-bugs
mailing list