]> git.ipfire.org Git - thirdparty/gcc.git/commit
* constexpr.c (cxx_eval_store_expression): Ignore clobbers.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Apr 2015 21:17:29 +0000 (21:17 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Apr 2015 21:17:29 +0000 (21:17 +0000)
commit8a36d0ec201ef1511b372523f72a763b836107b0
tree7ece978236340d6784aa4b3997ddc119b2cb5fd1
parent8b2942f7c961ee83bb0ff605129165ecdf6ac8f6
* constexpr.c (cxx_eval_store_expression): Ignore clobbers.
(build_constexpr_constructor_member_initializers): Loop to find
the BIND_EXPR.
* decl.c (start_preparsed_function): Clobber the object at the
beginning of a constructor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222135 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/decl.c
gcc/testsuite/g++.dg/opt/flifetime-dse2.C [new file with mode: 0644]