[Bug c++/53792] [C++11][constexpr] improving compiler-time constexpr evaluation

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 19 14:28:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53792

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-19 14:27:49 UTC ---
Since getV is not constexpr, constexpr doesn't help with optimization of foo,
so it relies on inlining.  constexpr should help with foo2, however.



More information about the Gcc-bugs mailing list