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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-03 
00:48:25 UTC ---
(In reply to comment #5)
> I still think it's a missed optimization opportunity.

Yes, it definitely is.  I'm just not sure whether it should be fixed by doing
constexpr expansion in non-constant expression contexts in some cases, or
improving normal optimization to handle this case.

Reply via email to