This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65656] __builtin_constant_p should always be constexpr
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Feb 2017 18:38:03 +0000
- Subject: [Bug c++/65656] __builtin_constant_p should always be constexpr
- Auto-submitted: auto-generated
- References: <bug-65656-4@http.gcc.gnu.org/bugzilla/>
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?