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.