]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/56481
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Mar 2013 02:37:21 +0000 (02:37 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Mar 2013 02:37:21 +0000 (02:37 +0000)
commit69ed07ff6653de4fd0543fbd05493c65d11cdeed
tree7f187a2ff1eec6fa08d81713a24ebb97e0426cb2
parentf87b283e724910266e6c101d3fdb78b1313f1854
PR c++/56481
* semantics.c (potential_constant_expression_1): Use of 'this' in
a non-constexpr function makes the expression not potentially
constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196737 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c