re PR c++/56481 (endless loop compiling a C++ file)
authorJason Merrill <jason@redhat.com>
Sun, 17 Mar 2013 02:37:21 +0000 (22:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 17 Mar 2013 02:37:21 +0000 (22:37 -0400)
commitb7df43cdb4108016f6cbf511a65194384792e34d
tree7f187a2ff1eec6fa08d81713a24ebb97e0426cb2
parent57fcd4f4e4f12b1ede24f05385183d3f2dc7acfa
re PR c++/56481 (endless loop compiling a C++ file)

PR c++/56481
* semantics.c (potential_constant_expression_1): Use of 'this' in
a non-constexpr function makes the expression not potentially
constant.

From-SVN: r196737
gcc/cp/ChangeLog
gcc/cp/semantics.c