[Bug c++/56481] [4.8 Regression] endless loop compiling a C++ file

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 17 02:38:00 GMT 2013


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



More information about the Gcc-bugs mailing list