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



--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-17 
02:37:34 UTC ---

Author: jason

Date: Sun Mar 17 02:37:21 2013

New Revision: 196737



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196737

Log:

    PR c++/56481

    * semantics.c (potential_constant_expression_1): Use of 'this' in

    a non-constexpr function makes the expression not potentially

    constant.



Modified:

    trunk/gcc/cp/ChangeLog

    trunk/gcc/cp/semantics.c

Reply via email to