This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65656] __builtin_constant_p should always be constexpr


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]