This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70552] __builtin_constant_p fails to reflect the constness of constexpr calls
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 05 Apr 2016 17:57:05 +0000
- Subject: [Bug c++/70552] __builtin_constant_p fails to reflect the constness of constexpr calls
- Auto-submitted: auto-generated
- References: <bug-70552-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70552
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I believe that has been intentional change not to "inline" constexpr functions
in non-constexpr contexts, unless inlining is enabled, so that one can actually
step through them etc.